Table of Contents [+/-]
This section discusses postinstallation tasks for Unix-like systems.
After installing MySQL, there are some tasks that you should perform:
You should initialize the data directory and create the MySQL grant tables. If you are using Windows, see Windows Postinstallation Procedures. For Unix systems, see Section 3.1, “Postinstallation Procedures for Unix-like Systems”.
After you complete the procedure and have the server running, any initial accounts in the grant tables should be assigned passwords, if that was not already done during data directory initialization. Passwords prevent unauthorized access to the MySQL server. You may also wish to restrict access to test databases. For instructions, see Section 3.2, “Securing the Initial MySQL Accounts”.
You may wish to arrange for the server to start and stop automatically when your system starts and stops. For instructions, see Section 3.3, “Starting and Stopping MySQL Automatically”.
Optionally, you can create time zone tables to enable recognition of named time zones. For instructions, see mysql_tzinfo_to_sql — Load the Time Zone Tables.
If you have trouble starting the server, see Section 3.4, “Troubleshooting Problems Starting the MySQL Server”.
When you are ready to create additional user accounts, you can find information on the MySQL access control system and account management in Chapter 4, The MySQL Access Privilege System, and Chapter 5, MySQL User Account Management.