Database deleted in error

5 posts by 2 authors in: Forums > CMS Builder
Last Post: September 23, 2016   (RSS)

By tCote - September 16, 2016

Have an issue where a cms database was deleted in error with database actually being gone. While trying to access any page I get "MySQL Error: Access denied for user '*****_scaledat'@'localhost' to database '******_cms'"

The information schema is present as Basic Auto template was used. I also have backups that were created from the admin section and all site files are still present. Only the database itself was deleted. How would I go about restoring this mess? 

By tCote - September 23, 2016

I am going to assume I need to create the database once again in Cpanel. As I stated it was completely removed. Also the Information Schema is present and  shows in MyPhpAdmin. 

By Damon - September 23, 2016

Hi,

Yes, you will need to create a new database and use that. 

In the /data/schema/ folder of CMS Builder there are schema files for each Section Editor (table) that sets the field names. So when you reinstall CMS Builder using the new database, CMS Builder will automatically re-create all the fields and settings you had before. Then the last step is restoring the data.

Let me know if you have any other questions.

Cheers,
Damon Edis - interactivetools.com

Hire me! Save time by getting our experts to help with your project.
http://www.interactivetools.com/consulting/

By tCote - September 23, 2016

Backup and running. Thanks for the help. Very much appreciated.