MySQL Basics In Pictures
Restart MySQL

If you've shut off your computer since the last exercise, you might need to restart MySQL.

First, login to your Linux computer as the Root user. Then restart the MySQL server:

  1. Open a terminal window.

    TIP: If your terminal prompt is followed by a $, login as the Root user.

    Type
    su and press ENTER. Type your Root password and press ENTER again.
  2. At the prompt, type:

    /etc/init.d/mysql start

    then press ENTER.

    TIP: If you had to login as the Root user in step 1, logout. Type:

    exit

    then press ENTER.