error: SQLSTATE[28000] [1045] Access denied for user 'root'@

Codes here !

Moderators: macek, egami, gesf

michat34
New php-forum User
New php-forum User
Posts: 1
Joined: Wed Aug 29, 2012 10:01 am

error: SQLSTATE[28000] [1045] Access denied for user 'root'@

Postby michat34 » Wed Aug 29, 2012 10:54 am

hello, i have just started using mysql in php scripts and on the beginning i came across an error. it's:

SQLSTATE[28000] [1045] Access denied for user 'root'@'localhost' (using password: YES)

i have searched for some informations in the internet but i found nothing useful for solving my problem. could you help me? greetings

User avatar
freshnet
php-forum Active User
php-forum Active User
Posts: 283
Joined: Tue Feb 22, 2011 8:19 am
Location: Canada

Re: error: SQLSTATE[28000] [1045] Access denied for user 'ro

Postby freshnet » Fri Aug 31, 2012 4:29 am

It sounds like the root user password you're using isn't correct. If you're using XAMPP, you can delete the configuration files and reset the root password (or just reinstall XAMPP)


Return to “mySQL & php coding”

Who is online

Users browsing this forum: No registered users and 1 guest

cron