安装环境:WINXP SP3
Mysql版本:mysql5.7.11
下载地址:http://dev.mysql.com/downloads/mysql/(见图一)
安装方式一:mysql-installer-community-5.7.11.0.msi的安装文件方式,每次到了最后的Apply Server Configuration部分,那个starting server总是过不去(见图二),LOG文件附后。【参照此教程进行的】
【LOG文件全文:】
Beginning configuration step: Stopping Server [if necessary]
Ended configuration step: Stopping Server [if necessary]
Beginning configuration step: Writing configuration file
Ended configuration step: Writing configuration file
Beginning configuration step: Updating firewall
Adding firewall rule for MySQL57 on port 3306.
Successfully added firewall rule.
Ended configuration step: Updating firewall
Beginning configuration step: Adjusting Windows service [if necessary]
Attempting to grant Network Service require filesystem permissions.
Granted permissions.
Adding new service
New service added
Ended configuration step: Adjusting Windows service [if necessary]
Beginning configuration step: Initializing Database [if necessary]
Deleting Data folder shipped
Attempting to run MySQL Server with --Initialize-insecure
Running process: C:\Program Files\iLivid\bin\mysqld.exe --defaults-file="C:\Documents and Settings\All Users\Application Data\MySQL\MySQL Server 5.7\my.ini" --initialize-insecure=on --console
The attempt to initialize the database Failed
Ended configuration step: Initializing Database [if necessary]
Beginning configuration step: Starting Server
Starting MySQL as a service
无法启动计算机“.”上的服务 MySQL57。
Ended configuration step: Starting Server
然后,我又进“服务”页面希望手动运行起来,又提示错误193:0xc1(见图三)。
可执行文件的路径如下:
"C:\Program Files\iLivid\bin\mysqld.exe" --defaults-file="C:\Documents and Settings\All Users\Application Data\MySQL\MySQL Server 5.7\my.ini" MySQL57
安装方式二:然后我又下载了zip格式的文件,解压到文件夹,按照网上的教程一步一步安装【参照的是此教程】,到了以下步骤又出问题了:
这里以D盘下的路径为例:
D:回车
D:cd D:\PHP\mysql\bin(回车)
D:\PHP\mysql\bin>mysqld --initialize-insecure --user=mysql(回车,这一步就是初始化)
提示mysqld.exe不是一个可执行的Win32程序,然后又在cmd窗口显示:访问被拒绝。至此,手动安装也失败了。。。
我百分百确信,我下载的是win32的zip文件。mysql-5.7.11-win32.zip
我也确定我给以上文件夹的权限足够。
mysql5.7.11为什么这么难安装啊。。。网上的教程也是有一句没一句的,请这里的朋友帮我看看是咋回事呢??
先把系统语言改为英文试下