HTML and CSS Reference
In-Depth Information
on the disk image, and select Open. This will install a preference pane, allowing you
to control MySQL from the System Preferences (see figure C.19 ) .
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
prompt:
$ /usr/local/mysql/bin/mysqladmin -u root password " new-
password"
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.
 
Search WWH ::




Custom Search