Create Database Structure
Did a search and couldn't come up with an answer but I'm not certain what to ask.
New to running WHM and Cpanel, most of our websites are WordPress. But on our old server when we would create a new database for a website it would create the "database structure" automatically. For instance there would be a wp_filters, wp_instances, wp_links, wp_comments, etc. However, when I create a new database from either the WHM side or the enduser's Cpanel no structure is created by default at all. I'm simply left with an option to "create table".
Is there an option to create a default WordPress database structure that I'm missing in WHM?
Thanks in advance!
Matt
-
Gotcha. So I first create the database from the WHM side for the WordPress site. Then I login to that sites cPanel and then run the wordpress installer (for a new site). Is that correct? Sorry for the total rookie question! :( 0 -
You don't create a database via WHM, you login as the cPanel user to his account and create the database there. First you create the database, then you create a user for the database, and then you "Add User to Database" as the final step. When you do this, take note of the user_username, password, and user_databasename. You'll need those items for the installer to run proper. Those docs should cover all of this, best to read thru them first before doing anything, that way you're at least semi prepared. Pro tip: once you've got the new site installed proper, back up the database and new site directory. As a new user, backups are your best friend. Keep them current. :) GL! 0 -
Those docs should cover all of this, best to read thru them first before doing anything, that way you're at least semi prepared. Pro tip: once you've got the new site installed proper, back up the database and new site directory. As a new user, backups are your best friend. Keep them current. :) GL!
Thanks very much, reading now!0
Please sign in to leave a comment.
Comments
4 comments