时间:2021-07-01 10:21:17 帮助过:5人阅读
sudo apt-get install mysql-server mysql-client
记得root密码别忘了。
sudo service mysql restart
/etc/MySQL/my.cnf找到bind-address = 127.0.0.1,注释掉
打开/etc/mysql/my.cnf,在[mysqld]后添加character-set-server=utf8
mysql -u root -p ->GRANT ALL PRIVILEGES ON *.* TO ‘root‘@‘%‘ IDENTIFIED BY ‘password‘ WITH GRANT OPTION; ->FLUSH PRIVILEGES
Ubuntu mysql
标签:etc mysql安装 client har 安装 inux grant with nbsp