[thelist] Mysql connection failed

Chris Anderson Chris at activeide.com
Wed Nov 14 15:24:02 CST 2007


> You mention 'improving security' - any chance you've tightened up
> database security? It looks as if your database access is failing due
> to an incorrect username or password, or the user account doesn't have
> access to the database.

+1 - but also check the host because of the MySql way of treating
admin at localhost and admin at devmachine as separate accounts.

If it's intermittent, it *may* even be the localhost thing - perhaps
MySql is sometimes seeing the host as localhost and sometimes as
servername, so check you have 'admin'@'localhost' *and*
'admin'@'servername' (or just define 'admin'@'%' to cover all hosts if
you are not worried about third party access)

Chris



More information about the thelist mailing list