Quick Ans. - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Quick Ans. (
/showthread.php?tid=549501)
Quick Ans. -
ManGoe - 07.12.2014
Can't connect to MySQL server on 'localhost' (10061) (Error ID: 2003)
??
pawn Код:
#define MYSQL_HOST "localhost"
#define MYSQL_USER "[HIDDEN]"
#define MYSQL_PASS "[HIDDEN]"
#define MYSQL_DB "vbullitien"
+ my user has all mysql privillages access GODADDY MYSQL.
Re: Quick Ans. -
iiNzTicTx - 07.12.2014
pawn Код:
#define MYSQL_HOST "127.0.0.1" //change from localhost, to 127.0.0.1
#define MYSQL_USER "[HIDDEN]" //Are you able to login with this username in phpmyadmin?
#define MYSQL_PASS "[HIDDEN]" //Are you able to login with this password in phpmyadmin?
#define MYSQL_DB "vbullitien" //is this the correct table name?
You're using this right?:
pawn Код:
myvariable = mysql_connect(MYSQL_HOST, MYSQL_USER, MYSQL_DB, MYSQL_PASS);
Re: Quick Ans. -
ManGoe - 07.12.2014
I am using G-STYLLERZZZZ R5 plugin MYSQL