下载后可任意编辑2、[root@localhost mysql]# scripts/mysql_install_db --user=mysqlInstalling MySQL system tables
OKFilling help tables
OKTo start mysqld at boot time you have to copysupport-files/mysql
server to the right place for your systemPLEASE REMEMBER TO SET A PASSWORD FOR THE MySQL root USER
To do so, start the server, then issue the following commands:
/bin/mysqladmin -u root password 'new-password'
/bin/mysqladmin -u root -h localhost
localdomain password 'new-password'Alternatively you can run:
/bin/mysql_secure_installationwhich will also give you the option of removing the testdatabases and anonymous user created by default
This isstrongly recommended for production servers
See the manual for more instructions
You can start the MySQL daemon with:cd
/bin/mys