Posts: 149
Threads: 29
Joined: Jan 2014
Reputation:
0
undefined symbol "mysql_ConnectToDatabase"
line i used
#if mysql == 1
mysql_ConnectToDatabase();
#endif
now how to fix it
Posts: 954
Threads: 24
Joined: Jul 2012
Reputation:
0
Do you have a stock or public that is "mysql_ConnectToDatabase();"?
Posts: 149
Threads: 29
Joined: Jan 2014
Reputation:
0
at first i defined what is my database, name, pass, ip , table. now on the gamemode init, how to connect to my database.
so should i use,
#if mysql == 1
ConnectToDatabase();
#endif
Posts: 954
Threads: 24
Joined: Jul 2012
Reputation:
0
You would need to make ConnectToDatabase() do something, which MySQL plugin are you using?
Guest4390857394857
Unregistered
Quote:
Originally Posted by StuartD
You would need to make ConnectToDatabase() do something, which MySQL plugin are you using?
|
depends upon your mysql plugin,
please specify it!
Posts: 6,236
Threads: 310
Joined: Jan 2011
Reputation:
0
It's mysql_connect. ****** it for syntax.