标签:etc mysql安装 client har 安装 inux grant with nbsp
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
标签:etc mysql安装 client har 安装 inux grant with nbsp
原文地址:http://www.cnblogs.com/coderdxj/p/7068940.html