Monday, 10 September 2012

#1045 - access denied for user 'root'@'localhost' (using password no)" Solution for Joomla

Dear Friends,
If in windows using joomla you got problem of error #1045 - access denied for user 'root'@'localhost' (using password no) on running Php My admin in XAMPP.Then follow below step you will be able to solve this because i have also do this and my porblem get solved.

1.First Stop XAMPP

2. Goto to directory in which XAMPP has installed for example c:\xampp.

3. Then goto c:\xampp\mysql.

4. Run resetroot.bat .

5.Restart the PC and Enjoy.


  1. hai i am using wamp server but it is not working properly i have error is #1045 - access denied for user 'root'@'localhost' (using password no) then please help me any one how to solve this problem

  2. One of the possible reasons for this,
    make sure that no other MySql is running other than the one in wamp. Check for the mysql running in task manager processes and kill it, before running the wamp. Later restart the wamp and the browser.(Be aware by killing the process the MySql(not in wamp) installed will not work, to make this work again goto mysql installed folder in bin you find mysqld application file run it, then your old mysql(not in wamp) will run again).