WordPress.org

Ready to get started?Download WordPress

Plugin Directory

!This plugin hasn't been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.

WP Db Abstraction

This plugin provides db access abstraction and SQL dialect abstraction for SQL Server. It is an mu (Must-Use) plugin AND also a db.php drop-in.

Notes

Known Limitations

  • This plugin must be in the "mu-plugins" directory. The db.php file "drop-in" must be in the wp-content directory. Normal plugin installation will not work.
  • Auto-update does not work for must-use plugins
  • Some plugins and themes that do not use the WP abstraction layer will break. This is contrary to WordPress API guidelines, contact the theme or plugin author.
  • Some plugins and themes may use queries that need additional translations added. Please report any you find in the sourceforge forums so the translation files can be updated. Please turn on query logging in wp-config.php and include your logs with the translation fix request.
  • Other plugins may also use a db.php drop-in. You can use both plugins, but it will requiring renaming files and adding lines to db.php from the plugin. See the Installation section for more details.
  • Other plugins that use db.php and extend the db class with custom behavior will break.

To Do

  • Add additional translations for PostgreSQL and Sqlite
  • Add additional drivers - pdo_sqlite, sqlite, sqlite3, pgsql, pdo_pgsql, odbc, pdo_odbc
  • Plugin specific autoupdater to mimic upgrade behavior of regular plugins
  • Administration area with the ability to view, alter, edit configuration and help with debugging issues
  • Make db.php smart enough to pick up any files prefixed with db- in the wp-content directory to help with other plugins with "drop-ins"
  • Proper error handling (no more @symbols) in database driver classes

Requires: 3.0 or higher
Compatible up to: 3.3.2
Last Updated: 2011-12-23
Downloads: 13,922

Ratings

4 stars
4.4 out of 5 stars

Support

Got something to say? Need help?

Compatibility

+
=
Not enough data

0 people say it works.
0 people say it's broken.

100,1,1
100,1,1
100,1,1
67,3,2 100,1,1
100,1,1 100,2,2
100,3,3 43,14,6
50,10,5
0,1,0 50,2,1
100,1,1 100,1,1 14,7,1
100,1,1 33,3,1
0,2,0
33,6,2
50,2,1
100,1,1
0,1,0
100,1,1