Failed to connect to Mysql - 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: Failed to connect to Mysql (
/showthread.php?tid=588056)
Failed to connect to Mysql -
GuthiX - 05.09.2015
Guys, i have my own mysql based server, i have my own windows host on Apex Gameserver, and i got a free mysql database there, so when i am putting my all details on my gamemode, like, host, user, password and database name.
I am getting error while connecting to mysql user. Please see this error and solve the problem.
Код:
Error (0): Failed to connect. Access denied for user 'db280'@'182.64.97.72' (using password: YES).
and here is my mysql_connect.
Код:
mysql_connect("pma.apexgameservers.co.uk", "db280", "**********", "db280", connection, 1); (I have old version SA:MP MySQL v2.1 of StrickenKid)
Here is my mysql database picture on phpmyadmin.
Re: Failed to connect to Mysql -
Yashas - 05.09.2015
If your server and SQL Database are on different servers. Find out if your SQL Database Provider supports RemoteMySQL.
Re: Failed to connect to Mysql -
Vince - 05.09.2015
Never use the external IP. They are slow and incoming connections through that IP are usually blocked by the firewall.