【发布时间】:2018-06-23 07:32:12
【问题描述】:
我想升级到 MariaDB 10.2,并且我正在使用 xampp(我喜欢 mysqld.exe 在后台运行,并且只需单击一下即可轻松打开/关闭)。发生的情况是,截至目前的最新版本是 3.2.2,它附带了 MariaDB 10.1.29。 我正在寻找一种普遍健康的方法来做到这一点。 我试过those steps 看起来不错:
- 解压缩/安装新的 MariaDB,然后将数据目录和 config|bat 文件 + phpMyAdmin 从旧安装复制到新安装。 开机一会就关机抱怨:
13:44:33 [main] Control Panel Ready 13:52:46 [mysql] Attempting to start MySQL app... 13:52:46 [mysql] Status change detected: running 13:52:49 [mysql] Status change detected: stopped 13:52:49 [mysql] Error: MySQL shutdown unexpectedly. 13:52:49 [mysql] This may be due to a blocked port, missing dependencies, 13:52:49 [mysql] improper privileges, a crash, or a shutdown by another method. 13:52:49 [mysql] Press the Logs button to view error logs and check 13:52:49 [mysql] the Windows Event Viewer for more clues 13:52:49 [mysql] If you need more help, copy and post this 13:52:49 [mysql] entire log window on the forums
注意事项:
-
我不会尝试 some random deletes 很有可能 使我的数据库表损坏(即使我以前做过但没有 工作)
-
请注意,如果我使用非特权用户运行服务器本身 (不是管理员)在命令行上,它按预期运行。 此外,Xampp 控制面板中的状态将变为绿色:
14:00:35 [mysql] Status change detected: running
我什至可以通过单击停止来关闭 MySQL 服务器。
- 如果我以管理员身份运行 Xampp(这可能是个坏主意),我会收到与上述相同的错误消息。
- 另请注意,以管理员身份运行 MySQL 服务器存在安全风险。
- 我知道我可以将其作为服务运行,但我希望能够即时控制何时打开/关闭它。
目的:
寻找一种在 xampp 中、在 windows (Windows7) 上升级 MariaDB 的干净方法
【问题讨论】:
-
您是否尝试过运行 MariaDB 10.2.x .msi 安装程序?
-
@O.Jones,是的,我做到了。结果相同。
标签: mysql windows xampp mariadb