I'm pretty advanced with MySQL and PHP and stuff, but this is some sort of a .. mystery to me.
I'm connecting to my database using the following script:
CODE
$MySQL_Connection = MySQL_Connect ( "localhost", "aestigma_zxq_net_a", "*****" );
if ( $MySQL_Connection )
MySQL_Select_DB ( "aestigma_zxq_net_aestigma" );
Echo MySQL_Error();
if ( $MySQL_Connection )
MySQL_Select_DB ( "aestigma_zxq_net_aestigma" );
Echo MySQL_Error();
And properly debug it with MySQL_Error();.
Now, the error returned is:
CODE
Warning: mysql_connect() [function.mysql-connect]: Access denied for user 'aestigma_zxq_net'@'localhost' (using password: YES) in /www/zxq.net/a/e/s/aestigma/htdocs/index.php on line 18
Access denied for user 'aestigma_zxq_net'@'localhost' (using password: YES)
Access denied for user 'aestigma_zxq_net'@'localhost' (using password: YES)
Which hardly makes any sense, since I'm connecting with "aestigma_zxq_net_a", not with just "aestigma_zxq_net".
The only thing I could possibly think of is a character limit in the MySQL username. But technically seen, I could never possibly create a user with an username short enough to connect to the database.
Could you please enlighten this for me?
Thanks,
Aevitas.