MySQL won't start (Windows, XAMPP)
-
Hi
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:
https://lts.cr/zPd
Clicking ‘start’ does nothing. MySQl is just stuck off.Config file has this in it:
define(‘DB_NAME’, ‘wordpress’);
/** MySQL database username */
define(‘DB_USER’, ‘root’);/** MySQL database password */
define(‘DB_PASSWORD’, ”);/** MySQL hostname */
define(‘DB_HOST’, ‘localhost’);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:
https://lts.cr/zPfI’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.