通过mysql开启mysqli [英] Switching on mysqli over mysql

查看:54
本文介绍了通过mysql开启mysqli的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经安装了mysql,现在我想使用新数据库在mysqli上工作.

I have mysql installed and now I want to work on mysqli with new database.

如果我在phpmyadmin中启用mysqli,是否会影响我以前的MySQL数据库?

Does it affect my previous database which is in mysql if I enable mysqli in phpmyadmin?

推荐答案

mysqli -> MySQL改进的扩展.

mysqli扩展程序(或有时称为MySQL改进的扩展程序)是为了利用MySQL系统版本4.1.3和更高版本中的新功能而开发的. mysqli扩展包含在PHP 5及更高版本中.

The mysqli extension, or as it is sometimes known, the MySQL improved extension, was developed to take advantage of new features found in MySQL systems versions 4.1.3 and newer. The mysqli extension is included with PHP versions 5 and later.

您只需要更改使用mysql完成的代码即可.无需更改数据库. mysqli方法也使用mysql数据库.

You just have to change the code you have done using mysql. No Need to change the database. mysqli methods also use the mysql database.

这可能有帮助

这篇关于通过mysql开启mysqli的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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