• Unfortunately, we have experienced significant hard drive damage that requires urgent maintenance and rebuilding. The forum will be a state of read only until we install our new drives and rebuild all the configurations needed. Please follow our Facebook page for updates, we will be back up shortly! (The forum could go offline at any given time due to the nature of the failed drives whilst awaiting the upgrades.) When you see an Incapsula error, you know we are in the process of migration.

ODBC Config Setup for RF Online

Newbie Spellweaver
Joined
Jan 8, 2012
Messages
66
Reaction score
5
It's so boring to add odbc settings for each new RF server installation so I've made simple bat script to add odbc settings. Server requires only user DSN, so it just add it.
Default dbs are BILLING, RF_User, RF_World. If you want to change it - edit it in bat file :)

Bat file download:


Script itself:
Code:

 [USER=2000306500]Echo[/USER] off
set bil=BILLING
set acc=RF_User
set wld=RF_World
%WINDIR%\System32\odbcconf.exe CONFIGDSN "SQL Server" "DSN=%bil%|Description=|SERVER=(local)|Trusted_Connection=Yes|Database=%bil%"
%WINDIR%\System32\odbcconf.exe CONFIGDSN "SQL Server" "DSN=%acc%|Description=|SERVER=(local)|Trusted_Connection=Yes|Database=%acc%"
%WINDIR%\System32\odbcconf.exe CONFIGDSN "SQL Server" "DSN=%wld%|Description=|SERVER=(local)|Trusted_Connection=Yes|Database=%wld%"
 
Back
Top