Jump to content

Recommended Posts

Guest Marko30
Posted

Delete database users and recreate them again. Also, if you can't access phpMyAdmin, change your cPanel password (tick Synchronize MySQL password).

  • Like 1
Posted

The data got lost. Everyone who had InnoDB tables in their databases lost their data.

 

Drop the database, then create a new database with a different name. Restore your backups into that database using PhpMyAdmin. Then assign the user you already recreated to the new database, and edit your software's config file to use the new database name.

Posted

Do I have to reinstall my Forums Website and my Sourcebans Website after I have Create new Database with different name? Or, I don't have too.

Posted

If you restore a backup and edit the config files, you won't need to, since the software will look in the new database, see the data it expects, and know it is already installed.

 

If you don't have a backup, then yes.

Posted

You can back up your entire account in cpanel. There's an option for a full backup, which includes files, databases, and other data. You can also just make a home directory backup if you want just the files.

 

Note that making a backup now will not allow you to restore the lost databases.

Posted

It's a backup...there should be an archive to download containing the files.

 

A backup will not fix your website unless it was made before the crash. If you don't have a backup from before the crash, you have to start over.

Posted

Alright, I've download it all my files into my Laptop after I have backup. Now, what next?

Guest Marko30
Posted

Go to phpMyAdmin, in right sidebar click on + near your cPanel username and then click on new database that you created and want to restore. After that, click on Import tab, select backup file, uncheck Allow the interruption of an import in case the script detects it is close to the PHP timeout limit. and click on Go.

 

Your database should be restored now. If you need to restore another database, repeat same steps.

 

After you have restored all databases, open the config file and enter new database name and password. That's it.

Guest
This topic is now closed to further replies.
×
×
  • Create New...