This section discusses post-installation items for Unix-like systems. If you are using Windows, see Section 2.3.8, “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 2.10.1, “Postinstallation Procedures for Unix-like Systems”.
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 2.10.2, “Securing the Initial MySQL Accounts”.
Optionally, you can create time zone tables to enable recognition of named time zones. For instructions, see Section 4.4.6, “mysql_tzinfo_to_sql — Load the Time Zone Tables”.
If you have trouble getting the server to start, see Section 126.96.36.199, “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 Section 6.2, “The MySQL Access Privilege System”, and Section 6.3, “MySQL User Account Management”.