Im trying to move my wordpress multisite to my host. I managed to copy all file, move the database to the host.
Also I edited databse settings on the wp-config
file.
Did the same to the entries siteurl
and home
in wp_options
table, and edited the wp_site
table to hold the correct domain, did the same on the wp_blogs
.
But it still shows that Error establishing connection to database message.. I tested a connection with mysqli_connect and its able to connect perfectly..
Im going crazy with this...
Have some of you struggled with this too?
PS: also tried to access backoffice and got this messages.
Could not find site optimystic.eu. Searched for table wp_blogs in database optimystic_db. Is that right?
What do I do now? Read the bug report page. Some of the guidelines there may help you figure out what went wrong. If you’re still stuck with this message, then check that your database contains the following tables:?
- wp_users
- wp_usermeta
- wp_blogs
- wp_signups
- wp_site
- wp_sitemeta
- wp_registration_log
- wp_blog_versions