摘要:
步骤如下:1.停止mysql服务(以管理员身份,在cmd命令行下运行) net stop mysql2.使用 mysqld –skip-grant-tables命令启动mysql数据库D:\>net stop mysql MySQL 服务正在停止. MySQL 服务已成功停止。 D:\>mysqld --skip-grant-tables3.新开一个cmd窗口,进行如下操作D:\>mysql -urootWelcome to the MySQL monitor. Commands end with ; or \g. Your MySQL connection id is 1
阅读全文