Troubleshooting Your Installation

If you have any problems during the installation of MySQL, the first place you should look is the “Problems and Common Errors” chapter of the MySQL manual, which is located at http://www.mysql.com/doc/P/r/Problems.html.

The following are some common problems:

  • On Linux/Unix, incorrect permissions do not allow you to start the MySQL daemon. If this is the case, be sure you have changed owners and groups to match those indicated in the installation instructions.

  • If you see the message Access denied when connecting to MySQL, be sure you are using the correct username and password.

  • If you see the message Can't connect to server, make sure the MySQL daemon is running.

  • When defining tables, if you specify a length for ...

Get Sams Teach Yourself PHP, MySQL® and Apache All in One now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.