Forum Replies Created

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter signy

    (@signy)

    All resolved.

    The “Warning: fsockopen() [function.fsockopen]: unable to connect to localhost:3306 (Connection refused)” messages were happening because mySQL is not set to listen on any port by default on my host’s servers.

    The db.php file apparently referenced localhost:3306. My hosting company commented out the “skip-networking” line in the my.cnf file to allow mysql to listen on that port (3306).

    This allowed me to upload the db.php file without the error messages showing up.

    Many thanks for your help.

    Thread Starter signy

    (@signy)

    Hi,

    This is a new install with minimal content.

    The databases I created show, but the tables from the original database did not move into either the “__global” or the “__home” databases that I had created.

    The Shardb link is now gone from the Tools category.

    Should I rerun the tool. If so, how?

    Thanks.

    Thread Starter signy

    (@signy)

    Thanks so much for your help and clarification.

    Just edited db-settings to uncomment that line.

    I still get the error message above after moving the db.php file into wp-content. I was able to remove that error message only by removing both the db.php and shardb-admin.php files.

    Is there a way to get these two files to work? If not, will the plugin run without these two files?

    Thanks!

    Thread Starter signy

    (@signy)

    Hi,

    I did edit the wp-config file and successfully migrated the databases and sites.

    I also made the db-settings.php changes and uploaded that.

    I created a “_home” database so wanted to edit the db.php file. Where in the db.php file do I place this code: “$enable_home_db = true;”

    Finally, when I added the db.php file, without the “$enable_home_db = true;” code, I got the error message noted above.

    Thanks for your help!

Viewing 4 replies - 1 through 4 (of 4 total)