error 1045 [SOLVED]

Problems with the Windows version of XAMPP, questions, comments, and anything related.

error 1045 [SOLVED]

Postby fudodono » 13. October 2011 05:08

I searched this error and could not find an answer to my specific problem.
us
Code: Select all
MySQL said:
#1045 - Access denied for user 'root'@'localhost' (using password: NO)

that's my error and most people say to edit config.inc.php but when I put my mysql password in there and save, xampp still gives me the same error (using passord is still no). I saved, restarted, refreshed, and deleted sql password. Nothing seems to work.

Edit: I get this error when i press admin on the control panel. After I open the page and 3-4 seconds go buy it stops mysql on the control panel
Last edited by Sharley on 18. November 2011 23:13, edited 3 times in total.
Reason: Please read the How To Post Announcement and include the XAMPP version and your Windows version when posting. Warning issued.
fudodono
 
Posts: 2
Joined: 13. October 2011 04:51

Re: error 1045

Postby Altrea » 13. October 2011 05:20

fudodono wrote: xampp still gives me the same error (using passord is still no). I saved, restarted, refreshed, and deleted sql password. Nothing seems to work.

Have you tried to clear your browser cache and restart your browser again?

Please change in your phpMyAdmin config.inc.php this line
Code: Select all
$cfg['Servers'][$i]['auth_type']     = 'config';


into this
Code: Select all
$cfg['Servers'][$i]['auth_type']     = 'cookie';


this forces phpMyAdmin to send you a login-form instead of trying automatically login.

fudodono wrote:Edit: I get this error when i press admin on the control panel. After I open the page and 3-4 seconds go buy it stops mysql on the control panel

Please take a look into your \xampp\mysql\data\mysql_error.log file and/or your windows system log if you start MySQL as Windows Service
We don't provide any support via personal channels like PM, email, Skype, TeamViewer!

It's like porn for programmers 8)
User avatar
Altrea
AF Moderator
 
Posts: 8294
Joined: 17. August 2009 13:05
XAMPP version: several
Operating System: Windows 10 Pro x64

Re: error 1045

Postby fudodono » 13. October 2011 14:58

I think changing the code worked for me. Thanks. ^.^
fudodono
 
Posts: 2
Joined: 13. October 2011 04:51


Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 64 guests