phpMyAdmin is an application for MySQL databases management. With it you can create, alter, drop, delete, import, and export MySQL database tables. You can also run MySQL queries, optimize, repair and check tables, change collation.
The main functionality of phpMyAdmin is to manage your databases.
The Databases tab lists all the databases which can be managed through the cPanel user. If you enable the statistics for the databases, you will see a table with the used collations, the number of the tables and rows, the size of the data and indexes, the total size and the overhead.
In this tab, you can run SQL queries either by entering the entire SQL query code or manually defining the parameters of the query. Keep in mind that this tab is context-sensitive, which means that depending on what you’re looking at, the target of your SQL queries might be different, e.g., if you are on the home page of phpMyAdmin and do not have any databases selected if you click on the SQL tab, any queries you run will apply to the overall server (or hosting account if on shared hosting).
The Export tab allows you to export the database tables content in different formats – CSV, SQL, PDF, Microsoft Excel, Microsoft Word, XML, etc. You can select either all the database tables or choose specific ones. This tab is also context-sensitive – you can either export all databases or a single database/table.
The Import tab allows you to import your database tables from a file saved on your local computer.
Go to the Databases tab and click on the database you would like to manage.
INT = Integer (a number without a decimal point)
CHAR = Characters (text up to a specific length)
VARCHAR = Variable Length Characters (does not have a fixed width)
TEXT = for holding large amounts of text
DATE = only for dates
DATETIME = only for a date and time format.
4.3. Define the Length/Values if required. For example, for the CHAR type you will need to specify the maximum number of characters allowed.
4.4. The other fields are optional.
Only the tables with existing records can be browsed. Once you click on the Browse icon, a new window with the records list will be opened. You can edit the chosen record by clicking on the Pen icon. You will see then the record structure and will be able to modify the values of the records.
The Structure screen shows you the database’s table structure. It shows you the fields’ names, their types, collations, attributes, additional information, the default values, and whether the fields’ values can be NULL.
Through the Search action, you can generate a search query for the chosen table. You can either write the WHERE clause, or you can use the “query by example” functionality. You should click on the Go button to execute the query.
Using the Insert action you can insert records in your database table. Once you fill in the corresponding values, click on the Go button and the new record will be inserted.
The Empty action allows you to empty your database table, removing the data and keeping the empty table.
Through the Drop action, you can delete the whole table and all the records stored in it.