Problem with multi-DB while establishing a connection to the database.

Hello there,

I just tried to install multi-DB. I followed exactly as you say in the instructions but I couldn’t run well this plugin. I have all things updated.

The plugin generates an error_log file that says:

PHP Warning: mysql_free_result(): supplied argument is not a valid MySQL result resource in /home1/instan74/public_html/wp-content/scripts/move-blogs.php on line 140.

Problems it appears in browser when I try access to my website:

1. An error occurred while establishing a connection to the database.

2. Unable to select database

“We were able to connect to the server database (which means your username and password are correct) but you can not select the database instan74_global”.

2.1. Are you sure it exists? –> Yes.

2.2. Does the user instan74_scholar have permission to use instan74_global database? –> Yes.

2.3. In some systems the name of your database is prefixed with your username, so it would be like username_instan74_global. Could this be the problem? –> My username in my database is exactly instan74.

Please, could you help me with this issue?. Thank you very much in advance.


P.S: I had to choose a plugin to send this email, as multi-db not appears I put Anti-Splog.

  • aecnu
    • WP Unicorn

    Greetings rodch,

    Welcome to WPMU DEV and Happy New Year!

    Sorry to see that you are having issues with Multi DB.

    How many DB’s have you set up?

    Is this the user for all DB’s –> instan74_scholar?

    I already traced out who your host is so no major issue there regarding Multi DB.

    Please advise to the above questions.

    Cheers, Joe

  • rodch
    • WPMU DEV Initiate

    Hello aecnu,

    thank you and happy new year for you and all wpmudev team too.

    1. I set up 16 DB.

    2. Yes, instan74_scholar is the user for all of them.

    I had to remove db.php to access my website.

    Right now I am going to try once, but I think I did all the instruction says.



Thank NAME, for their help.

Let NAME know exactly why they deserved these points.

Gift a custom amount of points.