Home > Backend Development > PHP Tutorial > centos7 安装 mariadb 后 php-mysql 包和 PDO 可以正常工作吗

centos7 安装 mariadb 后 php-mysql 包和 PDO 可以正常工作吗

WBOY
Release: 2016-06-06 20:40:40
Original
1021 people have browsed it

centos7 的yum源里没有搜索到mysql包,我就试着安装了分支mariadb,那么php-mysql包和PDO可以用于这个分支吗?可以的话和mysql有没有太大的区别?

回复内容:

centos7 的yum源里没有搜索到mysql包,我就试着安装了分支mariadb,那么php-mysql包和PDO可以用于这个分支吗?可以的话和mysql有没有太大的区别?

用法完全是一样的。Centos7将mysql替换为mariadb了,不会有兼容问题

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template