Table of Contents [+/-]
This section discusses post-installation items for Unix systems. If you are using Windows, see MySQL Server on Microsoft Windows Postinstallation Procedures.
After installing MySQL, there are some items that you should address. For example:
You should initialize the data directory and create the MySQL grant tables, as describe in Section 3.1, “Unix Postinstallation Procedures”.
An important security concern is that the initial accounts in the grant tables have no passwords. You should assign passwords to prevent unauthorized access to the MySQL server. For instructions, see Section 3.2, “Securing the Initial MySQL Accounts”.
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 getting the server to start, see Section 3.1.3, “Starting and Troubleshooting 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.