WordPress.org

Forums

WP Db Abstraction
mysql_connect (2 posts)

  1. IvanSlater
    Member
    Posted 1 year ago #

    How can I replace all functions from my plugins to use db-abstraction?

    They are throwing errors becausa mysql_connect doesnt exist anymore.

    Thanks!

    https://wordpress.org/plugins/wordpress-database-abstraction/

  2. charliebrimm
    Member
    Posted 1 year ago #

    Unfortunately, I've run into this many times due to plugin authors not using wps built in query structure. Then after you make the changes it's difficult to upgrade. It's painful.
    https://codex.wordpress.org/Query_Overview is a good place to start. Plugins shouldnt be using mysql_connect anyway in my opinion

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • WP Db Abstraction
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic

Tags

No tags yet.