Board index   FAQ   Search  
Register  Login
Board index php forum :: Database mySQL & php coding

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

Codes here !

Moderators: macek, egami, gesf

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
michat34
New php-forum User
New php-forum User
 
Posts: 1
Joined: Wed Aug 29, 2012 10:01 am

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)
User avatar
freshnet
php-forum Active User
php-forum Active User
 
Posts: 252
Joined: Tue Feb 22, 2011 8:19 am
Location: Canada


Return to mySQL & php coding

Who is online

Users browsing this forum: Bing [Bot] and 2 guests

Sponsored by Sitebuilder Web hosting and Traduzioni Italiano Rumeno and antispam for cPanel.