The Most Active and Friendliest
Affiliate Marketing Community Online!

“AdsEmpire”/  Direct Affiliate

What's in a MySQL database?

ForumJoiner

New Member
affiliate
To put it simply, a MySQL database is a collection of tables, each organized into rows and columns. That is called the logical representation of the database.



The physical representation is a folder. When you create a database in MySQL, the MySQL server actually creates an empty folder. You can try this by issuing the command
Code:
[FONT=Verdana]create database test[/FONT]
and seeing that an empty folder 'test' is created in the subfolder 'data' of the folder where you installed MySQL. All the tables you create inside the 'test' database will be stored inside the folder 'test'.


Consequences:
  • to backup a database on your computer you can simply copy the corresponding folder
  • to completely erase a database on your computer you can simply delete the corresponding folder
 
banners
Back