Strats Posted June 15, 2009 Posted June 15, 2009 Warning: mysql_connect() [function.mysql-connect]: Access denied for user 'Blah'@'localhost' (using password: YES) in /home/blah/public_html/class/class_db_mysql.php on line 46 FATAL ERROR: Could not connect to database on localhost (Access denied for user 'blah'@'localhost' (using password: YES)) I keep getting this every now and then when I go to my game, I fix it by fixing my admin database. What happens exactly? Quote
Lithium Posted June 15, 2009 Posted June 15, 2009 Re: Access denied for user as you say... "every now and then" most likely... server problems Quote
Haunted Dawg Posted June 15, 2009 Posted June 15, 2009 Re: Access denied for user That could be server problem's. Lithium is the SQL genius here :P Quote
Strats Posted June 15, 2009 Author Posted June 15, 2009 Re: Access denied for user Hmm stupid server people. The host is a pain and never tells me about downtime ect Quote
CrazyT Posted June 15, 2009 Posted June 15, 2009 Re: Access denied for user Hmm stupid server people. The host is a pain and never tells me about downtime ect lol... All i can say is get abetter host XD Quote
Haunted Dawg Posted June 16, 2009 Posted June 16, 2009 Re: Access denied for user Strat's, who's your current host? Quote
Lithium Posted June 16, 2009 Posted June 16, 2009 Re: Access denied for user i wouldn't blame the host... i've seen quite decent hosts with similar problems and that usually is not hosts fault! there are a few tweaks you can do, though that might not solve the problem for good but minimize the situation. Quote
Haunted Dawg Posted June 16, 2009 Posted June 16, 2009 Re: Access denied for user I have never seen an error like.. Warning: mysql_connect() [function.mysql-connect]: Access denied for user 'Blah'@'localhost' (using password: YES) in /home/blah/public_html/class/class_db_mysql.php on line 46 FATAL ERROR: Could not connect to database on localhost (Access denied for user 'blah'@'localhost' (using password: YES)) ever created by a server. If that is 100% the error you are getting, then some one has found a loophole in your code, or if you still have installer.php they are running that and messing with the config.php Quote
Strats Posted June 16, 2009 Author Posted June 16, 2009 Re: Access denied for user Nope I don't have installer.php there any more. My host is galaxy visions there are good most of the time. Quote
Lithium Posted June 16, 2009 Posted June 16, 2009 Re: Access denied for user Unfortunatelly, that is not an uncommon error, generally caused with persitent connections that fulfill the server queues, causing these type of effects as there are no available slots to new connections. It is far better to use open and close connections after each operation rather than keeping them always open (as most people do). Though this will generate another "issue". More stress on the database as db calls will increase exponentially... Quote
gurpreet Posted June 16, 2009 Posted June 16, 2009 Re: Access denied for user Must be on your side, I use Galaxyvisions too and I haven't had problems from day 1. Quote
Lithium Posted June 16, 2009 Posted June 16, 2009 Re: Access denied for user Must be on your side, I use Galaxyvisions too and I haven't had problems from day 1. Probably GV has more than 1 server... Quote
Strats Posted June 16, 2009 Author Posted June 16, 2009 Re: Access denied for user Must be on your side, I use Galaxyvisions too and I haven't had problems from day 1. You have you just have not been online at the time lol. Sometimes it cannot find my game, then I do to your game and same problem. Quote
Strats Posted June 16, 2009 Author Posted June 16, 2009 Re: Access denied for user Must be on your side, I use Galaxyvisions too and I haven't had problems from day 1. Probably GV has more than 1 server... Yea but sometimes we have problems at the same time Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.