[Root @ dbsvr01 E] # service mysqld status
Mysqld is stopped
[Root @ dbsvr01 E] #
========================================
[Root @ dbsvr01 E] #Service mysqld start
Initializing MySQL database: Installing MySQL system tables...
OK
Filling help tables...
OK
To start mysqld at boot time you have to copy
Support-files/MySQL. Server to the right place for your system
Please remember to set a password for the MySQL Root User!
To do so, start the server, then issue the following commands:
-- Comment: dbsvr01 is host name, need to adjust base on real name
/Usr/bin/mysqladmin-u Root Password 'new-password'
/Usr/bin/mysqladmin-u root-HDbsvr01Password 'new-password'
Alternatively you can run:
/Usr/bin/mysql_secure_installation
Which will also give you the option of removing the test
Databases and anonymous user created by default. This is
Stronugly recommended for production servers.
See the manual for more instructions.
You can start the MySQL daemon:
CD/usr;/usr/bin/mysqld_safe &
You can test the MySQL daemon with mysql-test-run.pl
Mysql-test-run.pl for CD/usr/MySQL-test; Perl
Please report any problems with the/usr/bin/mysqlbug script!
[OK]
Starting mysqld: [OK]
[Root @ dbsvr01 E] #
==========================================================
[Root @ dbsvr01 ~] #Service mysqld stop
Stopping mysqld: [OK]
[Root @ dbsvr01 ~] #