- 用管理员身份dakai命令行
- 输入:mysql -uroot -p
ps:数据库要先启动,否则会报这个错
ERROR 2003 (HY000): Can't connect to MySQL server on 'localhost' (10061)
- 输入密码
- 输入:show variables like “%char%”;
ps:数据库要先启动,否则会报这个错
ERROR 2003 (HY000): Can't connect to MySQL server on 'localhost' (10061)