Failed to connect to Mysql
#1

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.

Reply
#2

If your server and SQL Database are on different servers. Find out if your SQL Database Provider supports RemoteMySQL.
Reply
#3



Never use the external IP. They are slow and incoming connections through that IP are usually blocked by the firewall.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)