Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trialJoseph Hall
10,865 PointsDo I need a DataBase for a simple wordpress website?
Hi,
I am creating a simple wordpress website for a client. It has a blog page, but the majority of it is just a simple websites, with registering menus, content, the loop, etc.
Since it is just a simple theme, will I need to create a database? If so, what would the database be used for? What should I call the database?
Joseph
3 Answers
Kevin Korte
28,149 PointsYes, wordpress requires a database.
You just need to create a new database with a name, user, and password...and enter that information into a special file within your wordpress folder called wp-config.php
From there, when you first try to navigate to your wordpress site, and the wp-config has the database name, user, and password credentials correct, wordpress will populate the database with the necessary tables and values.
From there, there is really nothing else you need to do with the database, wordpress will handle it from there.
On going, wordpress will store things in it like post, comments, etc.
Joseph Hall
10,865 Pointsok Thanks!
Kevin Korte
28,149 PointsNo problem! Good luck!