发表于 2018-10-4 11:10:44

CentOS安装mysql遇到问题

#/application/mysql/bin/mysql_install_db --basedir=/application/mysql --datadir=/application/mysql/data/ --user=mysql  
Installing MySQL system tables...
  
1702228:50:13 '--skip-locking' is deprecated and will be removed in a future release. Please use '--skip-external-locking' instead.
  
OK
  
Filling help tables...
  
1702228:50:13 '--skip-locking' is deprecated and will be removed in a future release. Please use '--skip-external-locking' instead.
  
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:
  
/application/mysql/bin/mysqladmin -u root password 'new-password'
  
/application/mysql/bin/mysqladmin -u root -h mysql password 'new-password'
  
Alternatively you can run:
  
/application/mysql/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 /application/mysql ; /application/mysql/bin/mysqld_safe &
  
You can test the MySQL daemon with mysql-test-run.pl
  
cd /application/mysql/mysql-test ; perl mysql-test-run.pl
  
Please report any problems with the /application/mysql/scripts/mysqlbug script!


页: [1]
查看完整版本: CentOS安装mysql遇到问题