【发布时间】:2014-06-30 17:06:41
【问题描述】:
安装 MySQL 5.1.73 后,我已将路径变量添加到
C:\Program Files\MySQL\MySQL Server 5.1\bin
我在命令行中尝试过:
"C:\Program Files\MySQL\MySQL Server 5.1\bin\mysqld" --install
它显示:
The service already exists!
The current server installed: "c:\Program Files\MySQL\mysqld" --defaults-file=my.ini MySQL
但是你可以看到我设置的路径是“C:\Program Files\MySQL\MySQL Server 5.1\bin\mysqld”而不是“c:\Program Files\MySQL\mysqld”所以毫无疑问当我输入:
net start mysql
我明白了:
System error 2 has occurred.
The system cannot find the file specified.
如何更改奇怪的错误目录?我以前从未设置过这个错误的目录。我的平台是 Windows 7 Enterprise
【问题讨论】: