linux mysql 免安装

1.

scripts/mysql_install_db   --usrer=sunday  --basedir=/home/sunday/alibaba/mysql-5.5.28-linux2.6-x86_64 --datadir=/home/sunday/alibaba/mysql-5.5.28-linux2.6-x86_64/data

 

2.

support-files/mysql.server start

 

3.

bin/mysqladmin -u root password 'new-password'

 

 

你可能感兴趣的:(linux)