Can't access mysql

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

Can't access mysql

Postby MrsBaty » 13. September 2016 05:35

When I open the command prompt, I type: MySQL -u root;
Then: use MySQL;
I get the error: access denied for user ' '@'localhost' to database 'mysql'
I have never had xampp on this computer & have never had a chance to set up a password. Any suggestions?
*I used xampp on my old computer, Windows 8. This new computer has Windows 10 & MariaDB. Could commands be different or am I doing something wrong?
Posts: 1
Joined: 11. September 2016 19:53
XAMPP version: ???
Operating System: Windows 10

Re: Can't access mysql

Postby Altrea » 13. September 2016 16:19

Did you change the host of user root from localhost to Any (%)?
Or did you delete the user root@localhost?
We don't provide any support via personal channels like PM, email, Skype, TeamViewer!

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

Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 80 guests