I was trying to switch from WebMatrix to Laragon and moved my files over, rather than copying them over, accidentally. I instantly moved the files back to the root directory of WebMatrix, just so I had a copy there as well, but when I did this and tried loading the website again it shows, “Error Establishing Database Connection”. I’m not sure if this is due to me moving the files or if there was a conflict when I started Laragon. I’m on Windows 10 and I setup WebMatrix using https://www.microsoft.com/web/wordpress

How can I change the password for the MySQL user that WebMatrix created for my WordPress install?

Edit: Just FYI, I’ve tried doing

C:Program FilesMySQLMySQL Server 5.1binmysqld --init-file=C:\mysql-init.txt

in Admin mode, but this just freezes and the SQL statement in the text file is never executed? I tried this on 2 machines.

Read more here: How can I change the password for the MySQL user that WebMatrix created for my WordPress install?


Solution:

If you know the solution of this issue, please leave us a reply in Comment section, to update the question.


Wordpress related questions and answers: