30.08.2010, 10:52
Hi,
I am trying to make a MySQL account system, and I have this code in the game mode under OnGameModeInit:
mysql_connect("184.154.42.106", "sfa1_admin", "sfa1_server", "password");
Everything loads up fine, but when I register nothing happens, I looked into this problem and found that it is trying to connect to my ip instead of the 184.154.42.106
Error Message:
[06:51:03] -- Connecting to "184.154.42.106" | DB: "sfa1_server" | Username: "sfa1_ServU" ...
[06:51:04] CMySQLHandler::Connect() - Access denied for user 'sfa1_ServU'@'72.25.63.125' (using password: YES) (Error ID: 1045)
Is this a common bug, or is this an error on my part?
I am trying to make a MySQL account system, and I have this code in the game mode under OnGameModeInit:
mysql_connect("184.154.42.106", "sfa1_admin", "sfa1_server", "password");
Everything loads up fine, but when I register nothing happens, I looked into this problem and found that it is trying to connect to my ip instead of the 184.154.42.106
Error Message:
[06:51:03] -- Connecting to "184.154.42.106" | DB: "sfa1_server" | Username: "sfa1_ServU" ...
[06:51:04] CMySQLHandler::Connect() - Access denied for user 'sfa1_ServU'@'72.25.63.125' (using password: YES) (Error ID: 1045)
Is this a common bug, or is this an error on my part?