Hi Guys, for some reason, no PHP will connect to mySQL.
The server will connect to the mySQL via command line, but when we try and access the databases via PHP, we are getting access denied.
For some reason, the PHP just ignores the data we have sent for accessing the databases.. ie I will give the following example:
cpanel username: axe
db username: axe_uname
db dbname: axe_database
db password: anythinggoes
Ok, when we try and connect, it ignores what we have set, and displays the following error:
mysql://axe_database:@localhost/axe_uname failed to connectAccess denied for user 'axe'@'localhost' (using password: NO)
Anyone got any ideas?
I've recompiled apache with so many different combinations trying to get it working, and nothing budges!



LinkBack URL
About LinkBacks
Reply With Quote






