MySQL Basics In Pictures
  1. Type:

    SET PASSWORD FOR root@localhost=PASSWORD('textbook');

    Then press ENTER.

    The window should look like this:

    This string of commands sets the password for the root user on the MySQL server to textbook.