手动启动mysql服务,指定my.ini路劲
mysqld --defaults-file="mysql\bin\my.ini" --console --skip-grant-tables --shared-memory
清空root密码
update mysql.user set authentication_string = '' where user = "root" and host="localhost";
手动启动mysql服务,指定my.ini路劲
mysqld --defaults-file="mysql\bin\my.ini" --console --skip-grant-tables --shared-memory
清空root密码
update mysql.user set authentication_string = '' where user = "root" and host="localhost";