WAMP 服务器切换 MySQL 到 MariaDB
WAMP server switch MySQL to MariaDB
如何在 WAMP 3.1.0 中将数据库从 MySQL 切换到 MariaDB?
我正在找它,但找不到。
从您显示的图像看来,MySQL 和 MariaDB 都已经 运行ning!
注意:这有点占用内存!
简单测试一下 MySQL 和 MariaDB 是否都是 运行ning。启动 phpMyAdmin 并查看登录屏幕。如果两者都是 运行ning,您应该会在用户名和密码字段下看到 服务器选择 下拉菜单。在那里你会看到如下 2 个选项。
要选择 MySQL 或 MariaDB,右键单击 系统托盘中的 wampmanager 图标,您应该会看到这个菜单
只需单击 MySQL 或 MariaDB 即可启用或禁用其中一个或两个数据库服务器。如果数据库服务器名称旁边有一个绿色勾号,如上面针对 MySQL,则该数据库服务器配置为 运行,如果不存在勾号,则该服务器未配置为 运行 ].
或者,只需查看 services.msc
管理单元以查看数据库服务器是否已 a) 安装和 b) 运行ning(已启动)
Small note WAMPServer is now at V3.1.2, the update can be found here 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.
如何在 WAMP 3.1.0 中将数据库从 MySQL 切换到 MariaDB?
我正在找它,但找不到。
从您显示的图像看来,MySQL 和 MariaDB 都已经 运行ning!
注意:这有点占用内存!
简单测试一下 MySQL 和 MariaDB 是否都是 运行ning。启动 phpMyAdmin 并查看登录屏幕。如果两者都是 运行ning,您应该会在用户名和密码字段下看到 服务器选择 下拉菜单。在那里你会看到如下 2 个选项。
要选择 MySQL 或 MariaDB,右键单击 系统托盘中的 wampmanager 图标,您应该会看到这个菜单
只需单击 MySQL 或 MariaDB 即可启用或禁用其中一个或两个数据库服务器。如果数据库服务器名称旁边有一个绿色勾号,如上面针对 MySQL,则该数据库服务器配置为 运行,如果不存在勾号,则该服务器未配置为 运行 ].
或者,只需查看 services.msc
管理单元以查看数据库服务器是否已 a) 安装和 b) 运行ning(已启动)
Small note WAMPServer is now at V3.1.2, the update can be found here 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.