Rename or delete a database Print

  • Datenbank, MySQL, umbenennen
  • 0

You manage existing MySQL databases in cPanel under Manage My Databases (called MySQL Databases in some versions).

Rename a database

  1. Log in at https://cpanel.hoston.ch.
  2. In the Databases section, click Manage My Databases.
  3. Find the database under Current Databases and click Rename.
  4. Enter the new name and click Proceed.
  5. Update the database name in your application's configuration, for WordPress in wp-config.php.

User assignments and privileges are kept when renaming. For large databases the process may take a little while.

Delete a database

  1. Make a backup first, e.g. by exporting in phpMyAdmin or via JetBackup.
  2. Under Current Databases, click Delete next to the database.
  3. Confirm with Delete Database.

Important: A deleted database can only be restored from a backup. Before deleting, make sure no website still uses it. Afterwards, remove database users you no longer need under Current Users.


Was this answer helpful?

« Back

Powered by WHMCompleteSolution