你的位置:首页 > 数据库

[数据库]mysql install


./scripts/mysql_install_db --user=mahao01 --basedir=/home/mahao01/local/mysql --datadir=/home/mahao01/local/mysql/data/#启动:./bin/mysqld_safe --defaults-file=/home/mahao01/local/mysql/conf/my.cnf#加密:./bin/mysqladmin -u root password '123456' -S /home/mahao01/local/mysql/logs/mysql.sock