Multisite - imported database from live site - error establishing a database connection

Issue Summary

When setting up a multisite network on localwp I can go through the process of setting up the site fine but as soon as I have imported an existing database (having dropped the default tables localwp creates at setup , imported sql file with correct url changes and wp_ prefix) - I get ‘Error establishing database connection’ ** “Could not find site kwt.local.** Searched for table wp_blogs in database local . Is that right?” - the database is still named ‘local’ so nothing should have changed in terms of a connection?

This only happens on multisite setups - any others I can import an existing database without any issues using the same process.

You cannot use the localwp import feature to upload a multisite as it doesn’t give you the option to select multisite during the setup.

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.