Jump to content

[Solved] Problem.


Luigi123

Recommended Posts

Guest Marko30

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

  • Like 1
Link to comment
Share on other sites

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.

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

Guest Marko30

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.

Link to comment
Share on other sites

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