i have the db setup thru the phpmyadmin and the php file working too on ym previous pc...recently got anew pc and installed wamp in it and resetup the database...however when i run the php file i get he error
mysql_connect() [function.mysql-connect]: Access denied for user 'tara'@'localhost' (using password: YES)
plz help ...
Access denied for user issue
Moderator: General Moderators
-
angelic_devil
- Forum Commoner
- Posts: 74
- Joined: Thu Apr 02, 2009 7:05 am
-
angelic_devil
- Forum Commoner
- Posts: 74
- Joined: Thu Apr 02, 2009 7:05 am
Re: Access denied for user issue
i have tried using
GRANT ALL PRIVILEGES ON mydb.* TO 'tara'@'localhost' ;
but no use
GRANT ALL PRIVILEGES ON mydb.* TO 'tara'@'localhost' ;
but no use
-
angelic_devil
- Forum Commoner
- Posts: 74
- Joined: Thu Apr 02, 2009 7:05 am
Re: Access denied for user issue
i figured it out...thank god no one's time got wasted on this one