自己建网站免费,门户类网页,物流推广做哪个网站,潍坊百度搜索优化2.开始安装MySQL5首先我们应该先用下面的命令安装MySQL#xff1a;yum install mysql mysql-server然后我们需要创建MySQL系统的启动键链接启动MySQL服务器#xff0c;这样以便于MySQL在系统启动时自动启动chkconfig --levels 235 mysqld on/etc/init.d/mysqld start为MySQL …2.开始安装MySQL5首先我们应该先用下面的命令安装MySQLyum install mysql mysql-server然后我们需要创建MySQL系统的启动键链接启动MySQL服务器这样以便于MySQL在系统启动时自动启动chkconfig --levels 235 mysqld on/etc/init.d/mysqld start为MySQL root帐户设置密码mysql_secure_installation会出现下面的一系列提示rootserver1 ~]# mysql_secure_installationNOTE RUNNING ALL PARTS OF THIS SCRIPT IS RECOMMENDED FOR ALL MySQLSERVERS IN PRODUCTION USE PLEASE READ EACH STEP CAREFULLYIn order to log into MySQL to secure it well need the currentpassword for the root user. If youve just installed MySQL andyou havent set the root password yet the password will be blankso you should just press enter here.Enter current password for root (enter for none)OK successfully used password moving on...Setting the root password ensures that nobody can log into the MySQLroot user without the proper authorisation.Set root password [Y/n] New password Re-enter new password Password updated successfullyReloading privilege tables..... SuccessBy default a MySQL installation has an anonymous user allowing anyoneto log into MySQL without having to have a user account created forthem. This is intended only for testing and to make the installationgo a bit smoother. You should remove them before moving into aproduction environment.Remove anonymous users [Y/n] ... SuccessNormally root should only be allowed to connect from localhost. Thisensures that someone cannot guess at the root password from the network.Disallow root login remotely [Y/n] ... SuccessBy default MySQL comes with a database named test that anyone canaccess. This is also intended only for testing and should be removedbefore moving into a production environment.Remove test database and access to it [Y/n] - Dropping test database...... Success- Removing privileges on test database...... SuccessReloading the privilege tables will ensure that all changes made so farwill take effect immediately.Reload privilege tables now [Y/n] ... SuccessCleaning up...All done If youve completed all of the above steps your MySQLinstallation should now be secure.Thanks for using MySQL[rootserver1 ~]#