--- a/gameServer/OfficialServer/extdbinterface.hs Fri Mar 04 11:30:53 2011 +0300
+++ b/gameServer/OfficialServer/extdbinterface.hs Fri Mar 04 22:45:28 2011 +0300
@@ -60,9 +60,10 @@
main = do
dbHost <- getLine
+ dbName <- getLine
dbLogin <- getLine
dbPassword <- getLine
- let mySQLConnectInfo = defaultMySQLConnectInfo {mysqlHost = dbHost, mysqlDatabase = "hedge_main", mysqlUser = dbLogin, mysqlPassword = dbPassword}
+ let mySQLConnectInfo = defaultMySQLConnectInfo {mysqlHost = dbHost, mysqlDatabase = dbName, mysqlUser = dbLogin, mysqlPassword = dbPassword}
dbConnectionLoop mySQLConnectInfo