Becoming familiar with databases in phpMyAdmin

Posted:  May 14th, 2018

 

This tutorial assumes you've already logged in to phpMyAdmin.

 

Now let's familiarize ourselves with databases and phpmyadmin.

 

From this phpMyAdmin screen, we have access directly to the database demo1234_members, listed here. A database consists of one or more tables, and it is in the tables that database information is recorded. This particular database has two tables called details and information, and they are listed here.

KEK

1) Click the database name here.

KEK

From here we can see more information about the tables contained in the database, as well as perform several actions.

 

2) We can Browse a table to see the individual records.

KEK

3) We can see the Structure of a table and perform certain actions.

KEK

4) We can Search through a table for specific keywords.

KEK

5) We can Insert new rows (or fields) into a table.

KEK

6) We can Delete the contents of a table

 

7) Or we can Delete (or drop) an entire table altogether.

KEK

We can alternatively click here to view the database Structure.

KEK

8) We can open a SQL Query window for entering direct queries to the database.

KEK

9) We can click here to perform a Search.

KEK

10) This also opens a SQL Query window, but provides an easier step-by-step way to make queries

KEK

11) We can Export databases to our local computer.

KEK

12) We can Import previously exported databases.

KEK

... and we can do a number of other operations like creating new tables, copying or renaming databases from here

Now let's look at the structure of the details table.

KEK

The structure of the details table lists all the table's fields, along with the type of field, etc..

KEK

Here it tells us that the id field is the Primary Key field.

KEK

If you want further help with SQL, you can click here.....

KEK

..... or help with phpMyAdmin, you can click here.

KEK

Clicking here is another way of opening the SQL query window.

KEK

..... and clicking here logs you out of phpMyAdmin.

KEK

Let's return to the main screen.

KEK

This is the end of the tutorial. You should now be more familiar with phpMyAdmin, and what you can use it to do.