There is a link about how to re-set password. http://database.51cto.com/art/201010/229528.htm words in short, two lines mysql> UPDATE mysql.user SET password=PASSWORD('your_new_password') WHERE User='root'; mysql> FLUSH PRIVILEGES; and about mysql e…
一.使用语句 show variables like 'character%'; 来查看当前数据库的相关编码集. 1.启动cmd,登录mysql ①cd C:\Program Files\MySQL\MySQL Server 5.6\bin ②mysql -uroot -p 输入密码: 2. mysql>show variables like 'character%'; 二.修改my-default.ini,该文件在C:\Program Files\MySQL\MySQL Server 5.6下…