SA-MP Forums Archive
[HELP] MySQL Connection Problem - 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: [HELP] MySQL Connection Problem (/showthread.php?tid=303103)



[HELP] MySQL Connection Problem (Port) - GeorgeBrown - 11.12.2011

MySQL cannot connect to the server. I use MySQL R6 Plugin. Gamemode loads, but there is not loaded any data.
I use port 2693 for mysql instead of default port.

Quote:

#define MYSQL_HOST "localhost:2693"
#define MYSQL_USER "user"
#define MYSQL_PASS "password"
#define MYSQL_DB "dbname"

is this configuration valid, or port can cause this problem?


Re: [HELP] MySQL Connection Problem - GeorgeBrown - 12.12.2011

anyone?


Re: [HELP] MySQL Connection Problem - THE_KNOWN - 12.12.2011

#define MYSQL_HOST "localhost:2693" << i dont think you need to mention the port


Re: [HELP] MySQL Connection Problem - GeorgeBrown - 12.12.2011

neither works without mentioning the port.