The other topic seems locked so it's just fine I'll open another one. This time I can already make a bit clearer what the problem is.
I am using a ad-free account and created a database manday_default with user manday_manday, which is permitted to query SELECT-statements to the database in phpmyadmin.
I uploaded one of my php-scripts which needs access to the database to load data from one of its tables.
But trying to connect to the database with a mysql_connect command causes an error:
The appropriate command is
What exactly do I have to do to get that working?
I am using a ad-free account and created a database manday_default with user manday_manday, which is permitted to query SELECT-statements to the database in phpmyadmin.
I uploaded one of my php-scripts which needs access to the database to load data from one of its tables.
But trying to connect to the database with a mysql_connect command causes an error:
Warning: mysql_connect() [function.mysql-connect]: Access denied for user 'manday_manday'@'localhost' (using password: YES) in /home/manday/public_html/getapprank/apprank.php on line 129
The appropriate command is
Code:
[FONT=Fixedsys]mysql_connect( "localhost","manday_manday",STR_MYSQL_PASS );[/FONT]
What exactly do I have to do to get that working?