如安在WAMP 3.1.0中将数据库从MySQL切换到MariaDB?
我正在探求它,但我找不到它.
最佳谜底
从您表现的图像看起来MySQL和MariaDB都已经运行了!
留意:这有点内存饥饿!
简朴测试以查察MySQL和MariaDB是否都在运行.启动phpMyAdmin并查察登录屏幕.假如两者都在运行,您应该在“用户名”和“暗码”字段下看到“处事器选择”下拉列表.在哪里你会看到2个选项,如下所示.
要选择MySQL或MariaDB,请右键单击体系托盘中的wampmanager图标,您将看到此菜单
只需单击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.
(编辑:湖南网)
【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!
|