» » » » » » » New or existing database for an WordPress site?

New or existing database for an WordPress site?

posted in: Installation | 0

WordPress requires access to a MySQL database to store information. So you need a database.

You can create a new database if:

  • You do not have one already created on the server.
  • The company that offers you hosting service give you access to manage the creation and configuration of a database.

It is not essential to create a new database for each installation of WordPress.

If you intend to use the same database for multiple WordPress installations, be sure to edit the wp-config.php file to ensure that each installation has a unique prefix database table.

$table_prefix = ‘wp_’;

If you configure a new database to a new blog, edit wp-config.php, and make sure to have the right information for the database.

Leave a Reply

Your email address will not be published. Required fields are marked *