Support » Plugin: SharDB » Merge of ShardDB back to 1 database

  • Hades666

    (@bradhowe)


    Hi Ron,

    We have finally hit a limit where this plugin is deprecated and the technical debt is to large. Due to it’s dependency on MySQL_connect and php5, I am forced to remove this configuration. When you have a moment, if you are still online, can you confirm the merge process for me?

    mysqldump each DB (4096) and restore into 1 new Database
    remove wp-content/db.php
    confirm wp-config.php db settings
    restart Apache and test

    Did I miss anything?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Ron Rennick

    (@wpmuguru)

    MultiSite Guru

    Can you clarify what you mean by deprecated? The db.php drop in relies on the core DB class for all DB functionality except for managing which DB is being used.

    Your process is correct except there is no need to restart the web server.

    Hades666

    (@bradhowe)

    Thanks Ron,

    The deprecated is the mysql_connect is no longer used and I’m forced to remove the plugin for me to upgrade PHP.

    I can compile PHP to have it but again there move is to force people to start using MySQLI or pdo connectors.

    If you could give me a hint as to how to make a work of PHP 7, it would be greatly appreciated.

    Plugin Author Ron Rennick

    (@wpmuguru)

    MultiSite Guru

    Thanks so much for posting. I wrote SharDB 8+ years ago so I had forgotten about the hand full of mysql calls. I remembered that a few hours after I replied above.

    I updated it to use mysqli over the weekend. Do you want to test the update to PHP7 compatibility? I appreciate any feedback.

    https://github.com/rrennick/shardb/tree/develop

    • This reply was modified 5 months ago by  Ron Rennick.
Viewing 3 replies - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.