
Stackoverflow also advised that I could change the password in. That enabled me to start a mysql session, but (being a noob) I couldn't figure out what to do after that. I created a ".profile" file in my user directory, with "export PATH=/opt/local/bin:/opt/local/sbin:/Applications/xampp/xamppfiles/bin:$PATH" in it. So I looked up stackoverflow, which advised me to set the password for root at the command line. You should check the host, username and password in your configuration and make sure that they correspond to the information given by the administrator of the MySQL server. PhpMyAdmin tried to connect to the MySQL server, and the server rejected the connection. #1045 - Access denied for user (using password: NO) You know what comes next: When I tried to access localhost/phpmyadmin again, I was locked out with the message: Error In each case, I typed in the same short password and clicked "Generate Password," which created three different hashes.

I went to the Manage Privileges tab and changed the password for root on localhosts, webdev and 127.0.0.1. I saw the message advising me to change the password of root, which by default has no password.

How it all started: I was logged in to phpMyAdmin on my Macbook (which runs Mac OS X v10.7.4).
Phpmyadmin for mac php 7 how to#
I've deleted the XAMPP folder from my computer and reinstalled it from the DMG file, which of course fixed the problem, but I'd like to know how to fix it in the future. I've read all the posts I could find about this, and none helped.
