首页 > 学院 > 开发设计 > 正文

MySQL安装

2019-11-08 20:48:16
字体:
来源:转载
供稿:网友
rpm包安装To 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:/mysql/bin/mysqladmin -u root password 'new-password'/mysql/bin/mysqladmin -u root -h localhost.localdomain password 'new-password'Alternatively you can run:/mysql/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 /mysql ; /mysql/bin/mysqld_safe &You can test the MySQL daemon with mysql-test-run.plcd /mysql/mysql-test ; perl mysql-test-run.plPlease report any problems with the /mysql/scripts/mysqlbug script!
发表评论 共有条评论
用户名: 密码:
验证码: 匿名发表