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 trialtylerpostuma2
5,175 PointsWhat is a database?
Hey everybody! I hope this doesn't come off as a dumb question but I really would like to start knowing more about databases. I have done some research and really haven't found anything that really makes a lot of sense to me. My question is really, What is a database? How do you set one up? My confusion is on how you set one up and access it. If anybody has useful information, or any useful websites that I can visit to learn more, please link them to me! Thanks everybody!
2 Answers
Simon Coates
28,694 PointsThey have a number of courses that do the brief high level introduction of what is a database. These explain it better than i'm likely to. For example, see https://teamtreehouse.com/library/database-foundations A database can be a variety of things, and the use may dictate the type of database (relational, nosql), or particular DB (mysql, sqllite, mongo, oracle) etc. This will likely affect the setup steps.
tylerpostuma2
5,175 PointsThanks! Really appreciate it!
Cindy Lea
Courses Plus Student 6,497 PointsI would first start by reading wikipedia. Not only will it define what a database is, it is great at hyperlinking all the connections to other documents so you can read more about every detail about a database.
For a quick meaning of a database...my meaning....its a place where data is stored in a systematic way so that inserting data and deleting data is done in a timely manner. Depending on the company that creates the database software setting one up can be from simple to complex. Microsoft Access would be a great software for you to learn the database basics. Oracle & SQL Server are more advanced databases that require a lot more expertise & knowledge to setup.
Get a book on SQL & it will help you understand the workings of database manipulation & how it all works together.
tylerpostuma2
5,175 PointsThanks for the answer!
Simon Coates
28,694 PointsSimon Coates
28,694 PointsHow to access might be via database client software, or if you mean programmatically, then treehouse has some courses that are concerned with this question - on a per technology basis. For example, i did the php series on connecting to mysql through PDO.
Some of the technology tracks (php, python) will include connecting to a particular database as part of the content.