mysql -u root -p
use mysql
update user set password=PASSWORD(‘abcde’) where user = ‘root’;
mysql
update user set password=PASSWORD(‘123456′) where user=’root’
mysqld -install
mysql> show variables like ‘char%’;
mysql>set character_set_client=gbk;
mysql>set character_set_results=gbk;
Recent Comments