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:
/usr/bin/mysqladmin -u root password 'new-password'
/usr/bin/mysqladmin -u root -h izwz9eo2whsnfgi4ccyqouz password '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
strongly recommended for production servers.
See the manual for more instructions.
You can start the MySQL daemon with:
cd /usr ; /usr/bin/mysqld_safe &
You can test the MySQL daemon with mysql-test-run.pl
cd mysql-test ; perl mysql-test-run.pl
Please report any problems at http://bugs.mysql.com/
The latest information about MySQL is available on the web at
http://www.mysql.com
Support MySQL by buying support/licenses at http://shop.mysql.com
New default config file was created as /usr/my.cnf and
will be used by default by the server when you start it.
You may edit this file to change server settings
启动mysql的提示
/usr/bin/mysqld_safe &
[root@izwz9eo2whsnfgi4ccyqouz bin]# Logging to '/var/lib/mysql/izwz9eo2whsnfgi4ccyqouz.err'.
180331 20:37:59 mysqld_safe Starting mysqld daemon with databases from /var/lib/mysql
180331 20:38:00 mysqld_safe mysqld from pid file /var/lib/mysql/izwz9eo2whsnfgi4ccyqouz.pid ended
[1]+ Done /usr/bin/mysqld_safe