我在我的Windows 8机器上安装mysql安装程序。 在服务器configuration过程中,它会卡在“启动服务器”,不能进一步移动。 日志相同的是:
开始configuration步骤:停止服务器[如有必要]结束configuration步骤:停止服务器[如有必要]
开始configuration步骤:编写configuration文件结束configuration步骤:编写configuration文件
开始configuration步骤:更新防火墙在端口3306上为MYSQL56添加防火墙规则。成功添加防火墙规则。 结束configuration步骤:更新防火墙
开始configuration步骤:调整Windows服务[如有必要]尝试授予networking服务需要文件系统权限。 授予权限。 添加新服务添加新服务结束configuration步骤:调整Windows服务[如有必要]
我已经尝试了以下内容:*卸载所有与mysql有关的程序。 *从C:\ Program Files中删除了mysql文件夹。 *清除我的registry。 然后重新安装程序,但都是徒劳的。
链接MySQL安装程序卡住“启动服务”也显示相同的问题,但提供的解决scheme不适合我。
这是我做的:
就是这样,开心的MySQL-ing 🙂
我已经明白了这一点。 我也被困在“正在启动服务器”,事件查看器有这个 –
The description for Event ID 100 from source MySQL cannot be found. Either the component that raises this event is not installed on your local computer or the installation is corrupted. You can install or repair the component on the local computer. If the event originated on another computer, the display information had to be saved with the event. The following information was included with the event: innobase_buffer_pool_size can't be over 4GB on 32-bit systems
所以我想出了这个问题,试图启动32位版本的MySQL捆绑在一个64位机器上的安装程序可能是问题。 虽然,MySQL声明它将安装64位的数据库。
我所做的是下载了一个64位的压缩版本,并将其打包到临时位置。 我重新运行安装程序,让它安装MySQL。 我从临时位置替换了其他版本的内容, 而不停止安装程序 。 然后我继续安装程序的配置步骤。 它设法启动服务。
这是完整的日志。
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 MySQL56 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: Starting server Starting MySQL as a service Ended configuration step: Starting server Beginning configuration step: Applying security settings Attempting to update security settings. Updated security settings. Ended configuration step: Applying security settings Beginning configuration step: Creating user accounts Attempting to Add New MySQL Users Added New Users. Ended configuration step: Creating user accounts Beginning configuration step: Updating Start Menu Link Attempting to verify command-line client shortcut. Verified command-line client shortcut. Verified command-line client shortcut. Ended configuration step: Updating Start Menu Link
即使是现在,MySQL安装程序似乎也是一个长期的问题(v1.4.17.0)。 无论如何, 每当我(重新)在Windows 7专业版或服务器(2008 R2)上配置实例时 , 都会在此时挂起。
最简单的解决方法是:
注意 :安装程序似乎没有启用在首次配置MySQL服务器时可能选择的防火墙例外,因此您可能需要重新配置才能打开防火墙。
附注 :总而言之,在使用MySQL生态系统两天之后,我不得不说,错误的做法让我印象深刻。 我估计,我必须设置两个服务器接口大约6次之前,一切工作作为广告。 工作台在第一天就在我身上坠毁了5次以上,我不得不通过任何数量的论坛寻找这样的答案。 准备做同样的事情。
安装程序还有另一个我今天发现的问题。
我有挂在“Starting server”上的安装程序的问题。 但是,在Windows日志 – >应用程序下查看Windows事件查看器后,我发现了错误
“太多的参数(首先是'Something')。有关更多信息,请参阅http://www.mysql.com上的 ”帮助和支持中心“。
问题是安装程序无法处理windows服务名称中的空格(我使用的名称是“MySQL”)。 只需将名称改为没有空格的名称。
我发现另一个解决方案:我使用了一个复杂的密码,其中包含特殊字符。 当我切换到仅使用密码中的字母数字字符时,安装时没有问题。
按照这个链接 。 还要记得删除C:\ program files \ mysql文件夹下的所有东西,包括odbc的东西,如果有的话。