时间:2021-07-01 10:21:17 帮助过:3人阅读
sudo /usr/local/mysql/support-files/mysql.server start
sudo /usr/local/mysql/support-files/mysql.server stop
/usr/local/mysql/bin/mysql -u root
SET PASSWORD FOR ‘root‘@‘localhost‘ = PASSWORD(‘514112‘);
exit
/usr/local/mysql/bin/mysql -h localhost -u root -p
CREATE DATABASE database_name;
/usr/local/mysql/bin/mysql -h localhost -u root -p database_name < sql_file_name
MySQL
标签: