Every website has database .... Where is it ??! | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 4

Every website has database .... Where is it ??!

7th Jul 2017, 7:44 PM
Ahmed Mohammed Ahmed Khodary
Ahmed Mohammed Ahmed Khodary - avatar
7 Answers
+ 7
Most PHP based web applications store the database in MySQL. That is the application that manages the database. But there are other database managers that can be used, like Postgres, MariaDB, Oracle, SQL server, Mongodb, etc. The data files are stored in the hard drive, that can be the same drive that host the web server, or can be another dedicated server that host the database.
8th Jul 2017, 12:14 AM
⏩▶Clau◀⏪
⏩▶Clau◀⏪ - avatar
+ 6
simple answer: in the hard drive of the server. longer answer: think of a server as your personal computers. They need hardwares like CPU, RAM, HDD too. But they use different operating system as we usually use. You save your files like documents, music, videos, etc in your hard drive, and so does a server. You, when you are a user or a visitor of the website, don't need to know the details about how they stored the DB or what engine that they use.
7th Jul 2017, 8:46 PM
Lutfi Fitroh Hadi
Lutfi Fitroh Hadi - avatar
+ 2
Database details for live public websites should never Ever be published for security reasons. So if you are asking why no online site allows you to access its database management code directly. You can't. If you are asking where the server stores SQL databases somewhere on the hard drive. Sorry I can't be more specific.
7th Jul 2017, 11:00 PM
josh mizzi
josh mizzi - avatar
+ 1
I mean where is the database stored ... on developer's computer or on another place ..
8th Jul 2017, 6:20 AM
Ahmed Mohammed Ahmed Khodary
Ahmed Mohammed Ahmed Khodary - avatar
+ 1
database stored on server harddrive.like ur local computer have harddrive server also storage . they use SQL extension .php mostly use Mysql
8th Jul 2017, 6:58 AM
Gaurav
Gaurav - avatar
+ 1
Thanks all for your answers I am greatly benefited .
8th Jul 2017, 7:25 AM
Ahmed Mohammed Ahmed Khodary
Ahmed Mohammed Ahmed Khodary - avatar
0
If your database published them you website is a week to defend attack
8th Jul 2017, 10:47 AM
BIN SENAN
BIN SENAN - avatar