As you can probably tell I have the hump again! Im trying to instal a PHP application and set up a database. Its not working Im getting errors all over the place Warning: mysql_connect() [function.mysql-connect]: Access denied for user '****'@'localhost' (using password: YES) in /home/*****/public_html/config.php on line 27 Warning: mysql_select_db(): supplied argument is not a valid MySQL-Link resource in /home/****/public_html/config.php on line 28 I have * stared out some info that may be security related issues. Can any one advise me what Im doing wrong. I seriously hate setting up this sort of stuff as it never works. ing frustrating!!!! Guys if you do reply Im an idiot OK so if you talk to me in datavase speak I probably aint going to have a clue what your talking about. I am sure my database set up and the config info is the same. But it would seem its not. Thanks James
It sounds like you failed to enter the proper information into the config file. RTFM and figure out which file you need to modify. Config,conn and dbconnect are common names.
Just a thought... After you created the database and created the user, did you remember to add the user to the database?
Sounds like the user doesn't have the correct permissions or you might just need to flush privileges.
Yes as already said, this is permission problem Again check that you have enter the right login/pass as well if the user had the permissions to edit the database.
Hi Guys Thanks very much for your help. The problem is now sorted. I didnt put the info into the config correctly. Lucky for me a mate managed to fix the problem. Cheers Guys glad your all here to help. James