MySQL Basics In Pictures

TIP: Both the MySQL server and the Linux computer itself can have root users who can add/delete/modify anything. The passwords for each are independent, however.

textbook is not the Root account password of your Linux computer. It's the root password for the MySQL server.

In the previous string of commands, you logged into the MySQL server as its root user, so the password textbook applies to the MySQL server.

You can now give commands to add/delete/modify anything in the MySQL server, but not the Linux computer it runs on.