28.09.2013, 13:35
Hello, I am working on converting my script to MYSQL. But got some troubles. it refuses to connect to mysql.
This is the error I get in the server.log
This is the mysql connect codes
First time I ever coded in mysql, any help are appreciated!
Thanks
This is the error I get in the server.log
Код:
Function: mysql_connect called with incorrect parameter count.
pawn Код:
#define mysql_host "localhost"
#define mysql_user "samp01_db"
#define mysql_password "REMOVED"
#define mysql_database "samp01_db"
mysql_connect(mysql_host, mysql_user, mysql_database, mysql_password);
Thanks
