Code adding to sql

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

reecec
Forum Contributor
Posts: 218
Joined: Sun Apr 02, 2006 7:12 am

hi

Post by reecec »

i canged my code which i knew was wrong to see what error and i got

Warning: mysql_connect(): Access denied for user 'new'@'localhost' (using password: YES) in /home/reeceth/public_html/register.php on line 9
Could not establish connection


thats not the kind of error i get

thanks reece
User avatar
JayBird
Admin
Posts: 4524
Joined: Wed Aug 13, 2003 7:02 am
Location: York, UK
Contact:

Post by JayBird »

Does the user you have set up have the correct permissions?
Last edited by JayBird on Thu Apr 06, 2006 11:09 am, edited 1 time in total.
reecec
Forum Contributor
Posts: 218
Joined: Sun Apr 02, 2006 7:12 am

Post by reecec »

thank you


i had the user but it wasnt added to the list or something where you give it the permisions for the database



thanks Pimptastic and all that helped
Post Reply