I received this message when trying to enter any page of the site, wp-admin included.

"wordpress error in establishing database connection"

It also says that some table may be missing, and I discovered wpshop_blogs and wpshop_usermeta are actually missing from database. What to do now? Even the backups are missing this table. I can't access the WordPress admin panel and I do not have any backup with the tables.

I double cheked my database connections credentials and they are correct.

When i try to access the admin panel of wordpress, this is what i get (i know it is in italian but it is basically sayings that it could not find the wpshop_blogs table): enter image description here

  • You double check your database credentials? Even if tables are missing, that shouldn't prevent a database connection. – AJ 21 Dec 21 '18 at 18:37
  • Yes of course, i should have specified this in the question – andreav94 Dec 21 '18 at 18:49
  • is it possible your host changed some of the credentials? hostname perhaps? – AJ 21 Dec 21 '18 at 19:00
  • This does not provide an answer to the question. Once you have sufficient reputation you will be able to comment on any post; instead, provide answers that don't require clarification from the asker. - From Review – Sven Dec 21 '18 at 19:08
  • the credentials in wp-config.php are all correct...i called the host client service and we checked togheter but they do not give me any other clue or direction to fix the problem – andreav94 Dec 21 '18 at 19:09

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.