MySQL Native Driver 和 MySQL Client Library 有什么区别 [英] What the different between MySQL Native Driver and MySQL Client Library

查看:32
本文介绍了MySQL Native Driver 和 MySQL Client Library 有什么区别的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想知道 MySQL Native Driver 和 MySQL Client Library 的区别以及何时使用它们

I want to know the different between MySQL Native Driver and MySQL Client Library and when to use both of them

推荐答案

PHP 语言层面没有太大区别.

There is no big difference in the PHP language level.

  • 由 MySQL 分发的 libmysqlclient,由 PHP 分发的 mysqlnd.
  • libmysqlclient 是 MySQL 的一部分,您需要安装 MySQL 库.
  • 他们的许可证不同.
  • mysqlnd 支持很多插件(mysqlnd_ms & mysqlnd_qc & ...).
  • 因为 mysqlnd 是 PHP 的一部分,它的内存可能会受到 PHP 配置的限制.
  • mysqlnd 是 5.4 之后的默认值

http://php.net/manual/en/mysqlinfo.library.选择.php

这篇关于MySQL Native Driver 和 MySQL Client Library 有什么区别的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆