HTML and CSS Reference
on the disk image, and select Open. This will install a preference pane, allowing you
Figure C.19. The MySQL preference pane will allow you to start and stop MySQL as needed.
2 . Start MySQL (click the Start MySQL Server button in the Control Panel).
3 . Set a root password for MySQL by issuing the following command at the terminal
$ /usr/local/mysql/bin/mysqladmin -u root password " new-
This will set the root password for MySQL to newpassword or whatever you put in the
quotes (remember it!).
That completes the basic configuration of MySQL (easy!). Now you can invoke the
MySQL client from the command prompt using
$ /usr/local/mysql/bin/mysql -u root -p
and entering your password when prompted.