I have searched all over the WordPress forums about this, but there seems no solution about it, just endless discussion. I really hope someone can give me at least some direction for research.
Trying to access my local wordpress gives
“Error establishing a database connection”
I am running the latest XAMPP on Window, and Apache is shown as running. My control panel looks like this:
Clicking ‘start’ does nothing. MySQl is just stuck off.
Config file has this in it:
/** MySQL database username */
/** MySQL database password */
/** MySQL hostname */
If I un-tick the svc box, then re-enable it, the service DOES start, but only for a second. Switches off.
If it helps, mysql does show in the Windows Services list:
I’ve done this before and it worked fine; no idea why it’s not now :((
How can I get MySQL working?
Massively appreciative of any help.
- The topic ‘MySQL won't start (Windows, XAMPP)’ is closed to new replies.