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.

版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。

相关推荐


mysql中%不能表示什么
mysql中的column什么意思
mysql中asc什么意思
mysql中的where什么意思
mysql中如何求百分比
mysql中no是不是关键字
mysql中column可以省略吗
mysql中before是什么意思
mysql中主键约束和唯一约束是什么关系
mysql中的varchar是什么意思
在mysql中用来查询结果的函数是?
mysql中enum是什么意思
mysql中on是什么意思
mysql中主键约束和唯一约束怎么区分出来的
mysql中表更新数据的命令是哪个
mysql中or的用法
mysql中的unique如何实现唯一
mysql中and和or的区别
desc在mysql中什么意思
mysql中的unique是什么意思