MySQL Problem.
#1

Hello all. So i'm having a problem with loading the gm based on mysql from the host. When I run it on localhost, it works, all the username, database name and password, but when I try to run it with the Vortex Server host, It sends me this error in mysql log:

Код:
[MySQL] Error (0): Function: mysql_query called when not connected to any database. Access denied for user 'ErchaSdb'@'66.225.195.162' (using password: YES).
This is mysql connection info if i use the paid host:

Код:
mysql_connect("mysql.vortexservers.com", "ErchaS", "ErchaSdb", "s1j8Z23Xcr", connection, 1);
This is mysql connection info if i use the localhost, not the paid one:

Код:
mysql_connect("localhost", "cnrsf", "cnrsf", "cnrsf", connection, 1);
Reply
#2

Simple. Your paid host is blockning connection out of allowed that they has made.
Reply
#3

had the same problem.
Reply
#4

Quote:
Originally Posted by Meller
Посмотреть сообщение
Simple. Your paid host is blockning connection out of allowed that they has made.
So there's no possible way to fix this?
Reply
#5

Nope, use free host or try contact your paid host
Reply
#6

Use any MySQL host, many sites offer it for free
Reply
#7

Yeah well, chances are you need to use "localhost" on the remote server, too. "Localhost" refers to the machine the server runs on, not your own PC. Connecting via the external IP is like knocking on your own front door.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)