Oracle 5.0 Reference Manual page 150

Table of Contents

Advertisement

If the command fails immediately and prints
file in the data directory.
host_name.err
If you neglected to create the grant tables by running
this step, the following message appears in the error log file when you start the server:
mysqld: Can't find file: 'host.frm'
This error also occurs if you run
Remove the
data
described previously.
If you have other problems starting the server, see
the MySQL
Server". For more information about mysqld_safe, see
— MySQL Server Startup
8. Use
mysqladmin
to check whether the server is up and responding to connections:
shell>
bin/mysqladmin version
shell>
bin/mysqladmin variables
The output from
mysqladmin version
MySQL, but should be similar to that shown here:
shell>
bin/mysqladmin version
mysqladmin
Ver 14.12 Distrib 5.0.96, for pc-linux-gnu on i686
...
Server version
Protocol version
Connection
UNIX socket
Uptime:
Threads: 1
Questions: 366
Opens: 0
Flush tables: 1
Queries per second avg: 0.000
To see what else you can do with mysqladmin, invoke it with the
9.
Verify that you can shut down the server:
shell>
bin/mysqladmin -u root shutdown
10. Verify that you can start the server again. Do this by using
directly. For example:
shell>
bin/mysqld_safe --user=mysql --log &
If
fails, see
mysqld_safe
11. Run some simple tests to verify that you can retrieve information from the server. The output should
be similar to what is shown here:
shell>
bin/mysqlshow
+--------------------+
|
Databases
+--------------------+
| information_schema |
| mysql
| test
+--------------------+
shell>
bin/mysqlshow mysql
Database: mysql
Unix Postinstallation Procedures
mysql_install_db
directory and run
mysql_install_db
Script".
to verify that the server is running. The following commands provide simple tests
5.0.96
10
Localhost via UNIX socket
/var/lib/mysql/mysql.sock
14 days 5 hours 5 min 21 sec
Slow queries: 0
Open tables: 19
Section 2.18.1.3, "Starting and Troubleshooting the MySQL
|
|
|
130
ended, you can find some information in the
mysqld
mysql_install_db
as
without the
root
with the
Section 2.18.1.3, "Starting and Troubleshooting
varies slightly depending on your platform and version of
mysqld_safe
before proceeding to
[259]
--user
[259]
option as
--user
Section 4.3.2,
"mysqld_safe
[286]
option.
--help
or by invoking
Server".
option.
mysqld

Advertisement

Table of Contents
loading

This manual is also suitable for:

Mysql 5.0

Table of Contents