22.02.2011, 15:08
Hi...
I'm using KingJ hosts and installed Stricken Kid's Mysql Plugin 2.0 with it...
I uploaded my script and when i run it now it doesn't connect to mysql and says:
"Function: mysql_connect called with incorrect parameter count."
(I'm using an external DB)...
what's wrong?
(the plugin loads though)
I'm using KingJ hosts and installed Stricken Kid's Mysql Plugin 2.0 with it...
I uploaded my script and when i run it now it doesn't connect to mysql and says:
"Function: mysql_connect called with incorrect parameter count."
(I'm using an external DB)...
pawn Код:
new MySQL:connection = mysql_init(LOG_ONLY_ERRORS, 1);
mysql_connect(SQL_HOST, SQL_USER, SQL_PASS, SQL_DB, connection, 1);
(the plugin loads though)