Title: MySQLi database layer
Author: Marko Heijnen
Published: <strong>Jen 23, 2013</strong>
Last modified: Septanm 18, 2013

---

Search plugins

This plugin **hasn’t been tested with the latest 3 major releases of WordPress**.
It may no longer be maintained or supported and may have compatibility issues when
used with more recent versions of WordPress.

![](https://s.w.org/plugins/geopattern-icon/mysqli.svg)

# MySQLi database layer

 By [Marko Heijnen](https://profiles.wordpress.org/markoheijnen/)

[Download](https://downloads.wordpress.org/plugin/mysqli.1.1.zip)

 * [Details](https://hat.wordpress.org/plugins/mysqli/#description)
 * [Reviews](https://hat.wordpress.org/plugins/mysqli/#reviews)
 *  [Installation](https://hat.wordpress.org/plugins/mysqli/#installation)
 * [Development](https://hat.wordpress.org/plugins/mysqli/#developers)

 [Support](https://wordpress.org/support/plugin/mysqli/)

## Description

MySQL_* functions is deprecated and this plugin creates a layer to use MySQLi instead.
So you don’t get notices when using PHP 5.5

Be sure to read the installation instructions, as this is **not** a traditional 
plugin, and on activation you do need to install our database driver by using the
settings screen or move manually db.php into your content directory.

## Installation

 1. Verify that you have MySQLi
 2. Go to the settings page of this plugin and install our driver or just copy `db.
    php` to your WordPress content directory (`wp-content/` by default)
 3. Done!

## Reviews

![](https://secure.gravatar.com/avatar/56018e9d5ac510d8e594a355a4a07dcf986f319c44a5038badd5595c33dff17c?
s=60&d=retro&r=g)

### 󠀁[Super useful to run locally old websites!](https://wordpress.org/support/topic/super-useful-to-run-locally-old-websites/)󠁿

 [coccoinomane](https://profiles.wordpress.org/coccoinomane/) Jen 10, 2019

It saved my day, I was having a hard time running locally an obsolete website with
PHP56 and WordPress 3.5.1… placing db.php from this plugin in my wp-content folder
worked! Now I don’t get anymore the error “Your PHP installation appears to be missing…”.
Thanks!

![](https://secure.gravatar.com/avatar/8a6f01fc981421b70bd90f05ed582ad47857a06a26eaa0dba9a7940f53c82e28?
s=60&d=retro&r=g)

### 󠀁[good](https://wordpress.org/support/topic/good-2027/)󠁿

 [vanlich82](https://profiles.wordpress.org/vanlich82/) Septanm 3, 2016

Thank you

![](https://secure.gravatar.com/avatar/b267fc5d57658f99040aec0841f80a2a07efcb22ce3830eeb59acd3e3bf5ecd2?
s=60&d=retro&r=g)

### 󠀁[Helpful when running dated WordPress sites](https://wordpress.org/support/topic/helpful-when-running-dated-wordpress-sites/)󠁿

 [Ethan O’Sullivan](https://profiles.wordpress.org/ethanosullivan/) Septanm 3, 2016

I was restoring an old WordPress site (v3.7.1) that I haven’t touched in over 3 
years that on my WAMP server. Even though this plugin hasn’t been updated for just
as long, it was helpful in fixing the depreciation notices that I was getting for
mysqli, thank you.

![](https://secure.gravatar.com/avatar/7f7020bfc6c0b33f8ab2fcf72c5c6453ffca290a7737592561fedecf5da8d30c?
s=60&d=retro&r=g)

### 󠀁[This is awesome](https://wordpress.org/support/topic/this-is-awesome-51/)󠁿

 [arun0731](https://profiles.wordpress.org/arun0731/) Septanm 3, 2016

Solved mine. thank you so much

![](https://secure.gravatar.com/avatar/649fb2ded934d53d79b98a1f98c694d175ef9c644e28b89ea0eb8c3a64fdda39?
s=60&d=retro&r=g)

### 󠀁[works](https://wordpress.org/support/topic/works-1160/)󠁿

 [Yui](https://profiles.wordpress.org/fierevere/) fevriye 7, 2017

PS: conflicts: wp-cleanup plugin

 [ Read all 12 reviews ](https://wordpress.org/support/plugin/mysqli/reviews/)

## Contributors & Developers

“MySQLi database layer” is open source software. The following people have contributed
to this plugin.

Contributors

 *   [ Marko Heijnen ](https://profiles.wordpress.org/markoheijnen/)
 *   [ CodeKitchen ](https://profiles.wordpress.org/codekitchen/)

[Translate “MySQLi database layer” into your language.](https://translate.wordpress.org/projects/wp-plugins/mysqli)

### Interested in development?

[Browse the code](https://plugins.trac.wordpress.org/browser/mysqli/), check out
the [SVN repository](https://plugins.svn.wordpress.org/mysqli/), or subscribe to
the [development log](https://plugins.trac.wordpress.org/log/mysqli/) by [RSS](https://plugins.trac.wordpress.org/log/mysqli/?limit=100&mode=stop_on_copy&format=rss).

## Meta

 *  Version **1.1**
 *  Last updated **13 years ago**
 *  Active installations **100+**
 *  WordPress version ** 3.6 or higher **
 *  Tested up to **3.6.1**
 *  Language
 * [English (US)](https://wordpress.org/plugins/mysqli/)
 * Tags
 * [backend](https://hat.wordpress.org/plugins/tags/backend/)[database](https://hat.wordpress.org/plugins/tags/database/)
 *  [Advanced View](https://hat.wordpress.org/plugins/mysqli/advanced/)

## Ratings

 4.7 out of 5 stars.

 *  [  12 5-star reviews     ](https://wordpress.org/support/plugin/mysqli/reviews/?filter=5)
 *  [  0 4-star reviews     ](https://wordpress.org/support/plugin/mysqli/reviews/?filter=4)
 *  [  0 3-star reviews     ](https://wordpress.org/support/plugin/mysqli/reviews/?filter=3)
 *  [  0 2-star reviews     ](https://wordpress.org/support/plugin/mysqli/reviews/?filter=2)
 *  [  1 1-star review     ](https://wordpress.org/support/plugin/mysqli/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/mysqli/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/mysqli/reviews/)

## Contributors

 *   [ Marko Heijnen ](https://profiles.wordpress.org/markoheijnen/)
 *   [ CodeKitchen ](https://profiles.wordpress.org/codekitchen/)

## Support

Got something to say? Need help?

 [View support forum](https://wordpress.org/support/plugin/mysqli/)