Category:Technology -> Adventures with the naked Mac Mini Server -> Configure MySQL on Lion
Configure the MySQL database server
Use these steps to configure MyQL:
- Open a terminal window and enter sudo mysql_secure_installation.
- Hit the Enter key for a new installation with no current MySQL password.
- Follow the prompts to set up a new MySQL database server root password.
- Alternatively, if a MySQL password already exists, open a terminal window and enter username@[~]: mysql -u root -p[password] (where [password] is the new password.
