找到mysql的安装位置,进入bin目录 dos输入 mysql -h localhost -uroot -p ,在输入密码 转载于:https://www.cnblogs.com/nicknailo/p/8948188.html