Steps to shut down a wordpress installation

Category: Cpanel

Profitect
Asked:
2013-06-24 11:21 am EST

Hits: 989
What are the steps to properly shut down (delete) an existing wordpress installation from cPanel? Delete directory from file manager? Run a script? Use MySQL manager?

If I need to delete a database, how do I know which database is associated with which site (assuming I have more than one running)?

You must login before you can ask a follow up question.

You must login before you can submit an answer.

OTHER ANSWERS

0

jamesr
Staff
5,889 Points
2013-06-24 11:36 am EST
Hello Profitect!

You can remove the WordPress installation through Softaculous. Softaculous will delete the files and the database for you. See the following link.

How to uninstall programs using Softaculous

To find your database for your WordPress, you can look it up in your wp-config.php file in your WordPress files.

1. Look in your wp-config.php file found in the installation directory of your WordPress site.

2. Your database name associated with this WordPress install will be labeled as:
/** The name of the database for WordPress */
define('DB_NAME', 'putyourdbnamehere');

Best Regards,
James R

You must login before you can post a comment about this answer.

0

eddiemayan
2013-07-02 3:50 am EST
2-step matter:

1) Delete all WordPress files. If you installed into your root directory, delete all the files and directories installed by WordPress (wp-config.php, /wp-content/, /wp-admin/ etc). Be careful to not delete any other files you might have had there before WordPress. If WordPress is in a subdirectory, simply delete the subdirectory and all its contents.

2) Go into PHPMyadmin or whatever else you have on your server to edit MYSQL databases. Select the database used by your WordPress install and drop all the WordPress tables. Again, if this was a fresh database only used by WordPress, you can drop all tables. If the database had existing tables before, make sure you don't lose them.

WordPress is now un-installed and you can use the same blank database with the old settings to install it again.

You must login before you can post a comment about this answer.

Like this Question?

Related Articles

It looks like there are no related articles.
Would you like to ask a question about this page? If so, click the button below!
Ask a Question

Need more Help?

Search

Ask the Community!

Get help with your questions from our community of like-minded hosting users and InMotion Hosting Staff.

Current Customers

Chat: Click to Chat Now E-mail: support@InMotionHosting.com
Call: 888-321-HOST (4678) Ticket: Submit a Support Ticket

Not a Customer?

Get web hosting from a company that is here to help. Sign up today!