WAMP服务器将MySQL切换到MariaDB

前端之家收集整理的这篇文章主要介绍了WAMP服务器将MySQL切换到MariaDB前端之家小编觉得挺不错的,现在分享给大家,也给大家做个参考。

如何在WAMP 3.1.0中将数据库MySQL切换到MariaDB?

我正在寻找它,但我找不到它.

enter image description here

最佳答案
从您显示的图像看起来MysqL和MariaDB都已经运行了!

注意:这有点内存饥饿!

简单测试以查看MysqL和MariaDB是否都在运行.启动PHPMyAdmin并查看登录屏幕.如果两者都在运行,您应该在“用户名”和“密码”字段下看到“服务器选择”下拉列表.在那里你会看到2个选项,如下所示.

enter image description here

要选择MysqL或MariaDB,请右键单击系统托盘中的wampmanager图标,您将看到此菜单

enter image description here

只需单击MysqL或MariaDB即可启用或禁用其中一个或两个数据库服务器.如果数据库服务器名称旁边有一个绿色勾号,如上面针对MysqL,则该数据库服务器配置为运行,如果不存在勾选,则该服务器未配置为运行.

或者,只需查看services.msc管理单元以查看数据库服务器是否已安装并且b)正在运行(已启动)

Small note WAMPServer is now at V3.1.2,07002 This contains a fix that if I remember correctly,contains a relevant fix. This is the WAMPServer backup repo,but it is a lot easier to navigate than SourceForge and is often more up to date than SourceForge as Oto does not have to jump through all the SourceForge loops to keep it up to date.

Also note: that MariaDB and MysqL cannot both run on the same port i.e. 3306. So by default MysqL runs on 3306 and MariaDB runs on 3307. When you come to write PHP code you will have to specify port 3307 on your database connection code to make the connection to MariaDB if you are going to run both at the same time.

Alternatively,if you want to use just MariaDB,Turn off MysqL and then switch MariaDB to use port 3306. There are menu items that make it quite easy if you look for them.

原文链接:https://www.f2er.com/mysql/433535.html

猜你在找的MySQL相关文章