[[please specify the URL of the site on which you are experiencing the problem
http://elioracare.wuaze.com
Other Information
Today I accidentally deleted my SQL database and now I can’t access my WordPress site, is there any way to recover it??
[[please specify the URL of the site on which you are experiencing the problem
http://elioracare.wuaze.com
Today I accidentally deleted my SQL database and now I can’t access my WordPress site, is there any way to recover it??
Unfortunately, if you don’t have any backup of your database before deletion, every setting, blog post and page you had on your WordPress website will be lost, but any plugin or theme you had before you deleted the database won’t be lost, so after you reset the database you can enable them again; also, nothing will stop you from recreating the database and editing your wp-config.php
to use the new database data you can find in the “MySQL Databases” section of the account dashboard on the Client Area, but then you’ll have to start over. I’m so sorry, but I hope this serves you as a lesson to take backups next time.
ok, i create a new database in MySQL Databases how i put it to work?
The credentials you have to use to connect to the database are under the “MySQL Databases” section of your hosting account dashboard on the Client Area. These credentials need to be put on your wp-config.php
file replacing the values that were present previously and following the PHP comments in the file itself as for the order of which they need to be put.
I’m using infinity free, could you please give me a step-by-step guide on what I should do? I’m a newbie and I still don’t understand much about websites.
I suggest you to copy the MySQL username, password (which you can show by clicking on “Show/Hide”), database name and hostname to a separate file if you don’t want to keep the MySQL Databases tab open. Just make sure to save it and don’t share the password with everyone, not even in this forum as this is a public forum!
Anyway, after you copied them, go to the File Manager (so go back to the home page of your hosting account on the Client Area, then click on File Manager), go to your domain’s htdocs
folder (if you created a hosting account with that domain and never removed it it’s gonna be htdocs
, while if you removed it and added it back it should be elioracare.wuaze.com/htdocs
), then right click on wp-config.php
and click on Edit, scroll down a bit and then use the MySQL database name you copied earlier to replace the value there was before on the first one you have to replace, the MySQL username to replace the value there was before on that one as well, the MySQL password you copied before to replace the value there was before and the MySQL hostname- well, that one you can also leave alone as it’ll surely still work (it’s surely in the form of sqlXXX.byetcluster.com
), but if you want you can replace it as well with the value you copied before. After this, save the file and you should be done.
thank you, it’s working
This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.