所有操作均在管理员的命令操作符下进行。启动mysql的时候,提示不能启动,服务没有报告任何错误。
我使用的版本是官方下载的mysql5.7.16解压版,解压后是没有data文件夹的。我按照网上的方法,使用mysqld --initialize命令创建了一个data文件夹。之后我删除了mysql服务mysqld -remove和data文件夹,想要重新创建data文件夹,但是这次提示不能访问mysql的路径。
mysqld -remove
我的my.ini文件
认证0级讲师
Please check the log file. The reasons for startup failure are recorded in the log file. Solve the problem according to the records. After reading your log and configuration file, I pointed out 1 point. Please replace "" in all paths with "/"
In this unknown situation, it is better to reinstall mysql directly
It is recommended that you get started with vagrant and directly apt-get install mysql (debian)
Please check the log file. The reasons for startup failure are recorded in the log file. Solve the problem according to the records.
After reading your log and configuration file, I pointed out 1 point. Please replace "" in all paths with "/"
In this unknown situation, it is better to reinstall mysql directly
It is recommended that you get started with vagrant and directly apt-get install mysql (debian)