• On a Sun UltraSPARC-IIe, a server compiled with Forte 5.0 is 4% faster than one compiled with
3.2.
• On a Sun UltraSPARC-IIe, a server compiled with Forte 5.0 is 4% faster in 32-bit mode than in 64-bit
mode.
• Compiling with
gives 4% better performance.
• Compiling on Linux-x86 using
frame-pointer
2.18. Postinstallation Setup and Testing
After installing MySQL, there are some issues that you should address. For example, on Unix, you
should initialize the data directory and create the MySQL grant tables. On all platforms, 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. Optionally, you can create time zone
tables to enable recognition of named time zones.
The following sections include postinstallation procedures that are specific to Windows systems
and to Unix systems. Another section,
Server", applies to all platforms; it describes what to do if you have trouble getting the server to start.
Section 2.18.2, "Securing the Initial MySQL
its instructions to make sure that you have properly protected your MySQL accounts by assigning
passwords to them.
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.3, "MySQL User Account
2.18.1. Unix Postinstallation Procedures
After installing MySQL on Unix, you must initialize the grant tables, start the server, and make sure that
the server works satisfactorily. You may also wish to arrange for the server to be started and stopped
automatically when your system starts and stops. You should also assign passwords to the accounts in
the grant tables.
On Unix, the grant tables are set up by the
methods, this program is run for you automatically if an existing database cannot be found.
• If you install MySQL on Linux using RPM distributions, the server RPM runs mysql_install_db.
• If you install MySQL on Mac OS X using a PKG distribution, the installer runs mysql_install_db.
For other platforms and installation types, including generic binary and source installs, you will need to
run
mysql_install_db
The following procedure describes how to initialize the grant tables (if that has not previously been
done) and start the server. It also suggests some commands that you can use to test whether the
server is accessible and working properly. For information about starting and stopping the server
automatically, see
After you complete the procedure and have the server running, you should assign passwords to
the accounts created by
instructions, see
In the examples shown here, the server runs under the user ID of the
assumes that such an account exists. Either create the account if it does not exist, or substitute the
name of a different existing login account that you plan to use for running the server.
Postinstallation Setup and Testing
2.95.2 for UltraSPARC with the
gcc
without frame pointers
gcc
-ffixed-ebp) makes
Section 2.18.1.3, "Starting and Troubleshooting the MySQL
Management".
yourself.
Section 2.18.1.2, "Starting and Stopping MySQL
mysql_install_db
Section 2.18.2, "Securing the Initial MySQL
-mcpu=v8 -Wa,-xarch=v8plusa
(-fomit-frame-pointer
1% to 4% faster.
mysqld
Accounts", also applies to all platforms. You should follow
Section 6.2, "The MySQL Access Privilege
program. For some installation
mysql_install_db
and perhaps tighten access to test databases. For
Accounts".
127
or
System", and
Automatically".
login account. This
mysql
gcc
options
-fomit-
Need help?
Do you have a question about the 5.0 and is the answer not in the manual?
Questions and answers