RSS
Follow Us
Contribute
 
 
 
 

Error 2003: Can't connect to MySQL server on (X)

 
We need YOUR SKILLS in this collaborative work, to build the largest solution center for error messages.

From $1

Table of contents
  1. 1. Cause
  2. 2. Solutions

Cause

This error message usually appears, when mysql server is not running.

Solutions

Restarting MySQL server simply solves the problem.

Solution for Windows

  1. Open Control Panel.
  2. Go to Administrative Tools -> Services.
  3. Find MySQL in the list of services.
  4. Right click on MySQL and choose Start.

Solution for Linux

Run the "mysqld" command in Terminal and it will start the MySQL server.

Tags:
 
 
 
 
Comments