LCKB
Cash server -mysql not connected - aborting - Printable Version

+- LCKB (https://lckb.dev/forum)
+-- Forum: ** OLD LCKB DATABASE ** (https://lckb.dev/forum/forumdisplay.php?fid=109)
+--- Forum: Guides & Help Section (https://lckb.dev/forum/forumdisplay.php?fid=193)
+---- Forum: Help & Support (https://lckb.dev/forum/forumdisplay.php?fid=157)
+----- Forum: Ep2 Support (https://lckb.dev/forum/forumdisplay.php?fid=166)
+------ Forum: Solved Topics (https://lckb.dev/forum/forumdisplay.php?fid=144)
+------ Thread: Cash server -mysql not connected - aborting (/showthread.php?tid=2497)



- lukaslt - 10-07-2013


Hey dear community,

 

Ive tried to run the cash server everything seems to bee working untill the step ./start could anyone help ? 
-ty :/

 

 

2013/10/07 11:18:08 :: SYSTEM > Testing mySQL connection
2013/10/07 11:18:08 :: ERROR > Unknown database newproject_db_data
MySQL Not connected. Aborting..
Wizatek Cash Server 3.0 [public release] h
 




- SibaN - 10-07-2013


can you post config from youre cash server

i thing you have error in youre config




- lukaslt - 10-07-2013



can you post config from youre cash server

i thing you have error in youre config

 

 

 

[CashServer]

Address=

Port=8888

 

[DataBase]

Address=127.0.0.1

DB_Data=newproject_db_data

DB_Auth=newproject_db_auth

DB_Db=newproject_db

UserName=root

Password=

 

[Connector]

Address=192.168

 

[Lottery]

Enabled=TRUE

Prize=10

Ticket=1

 

 

i deleted ip end ^^ ip was set right




- MrBuSta - 10-07-2013



 

 

 

[DataBase]

 

Address=127.0.0.1

 

DB_Data=newproject_db_data

i think you have newproject_data and not newproject_db_data...change it to newproject_data and start again cash server.

 




- SibaN - 10-08-2013


you need only to set youre vps ip on GameServer and on loginserver

 

all other messenger helper connector subhelper you need to set ip 127.0.0.1

 

Cash Server

 

[CashServer]

Address=127.0.0.1

Port=8888

 

 

[DataBase]

Address=127.0.0.1

DB_Data=newproject_data

DB_Auth=newproject_db_auth

DB_Db=newproject_db

UserName=root

Password=

 

 

; Set the IP Address of the connector here

; Its for security reasons, only connections from this ip are accepted

[Connector]

Address=127.0.0.1

 

 

; Set the settings for the lottery system

[Lottery]

Enabled=FALSE

Prize=10

Ticket=1

 

 

 

 

 

 

[DataBase]

Address=127.0.0.1

DB_Data=newproject_db_data <------------------ is that corect name from youre data database or newproject_data with out _db_

DB_Auth=newproject_db_auth

DB_Db=newproject_db

UserName=root

Password=