[HELP] ppl cant connect

05/18/2010 21:07 Knight^Hawk#1
everythings running msg acc npc xamp mysql yet no1 can connect, did a port scan for 3306 and 9958 says its unreachable, routers ports are open. and i get this error from my website. btw firewall is off.

Code:
Warning: mysql_connect() [function.mysql-connect]: Lost connection to MySQL server at 'reading initial communication packet', system error: 110 in /home/knight/public_html/config.php  on line 16

Warning: mysql_select_db() [function.mysql-select-db]: Access denied for user 'knight'@'localhost' (using password: NO) in /home/knight/public_html/config.php on line 17

Warning: mysql_select_db() [function.mysql-select-db]: A link to the server could not be established in /home/knight/public_html/config.php on line 17
05/18/2010 21:33 King_Arthur#2
Double check your router settings to make sure that each port is pointing to the correct internal IP address.

Quote:
Originally Posted by Knight^Hawk View Post
Warning: mysql_select_db() [function.mysql-select-db]: Access denied for user 'knight'@'localhost' (using password: NO) in /home/knight/public_html/config.php on line 17
That means that you do not have a user on your mysql list for User: knight with no password from the local computer. You either have to create that user or fix your config file to the proper user settings for an account you do have setup.
05/18/2010 21:47 Knight^Hawk#3
it fixed itself -.- unplugged the router is all i did lol