How to Create database, Table and Managing MySQL Database using phpMyAdmin

phpMyAdmin is a tool for managing MySQL database and free of charge, it’s a web base tool. This tutorial you’ll learn how to create database, create table include export(backup) MySQL database.

phpMyAdmin is a tool written in PHP intended to handle the administration of MySQL over the Web. Currently it can create and drop databases, create/drop/alter tables, delete/edit/add fields, execute any SQL statement, manage keys on fields, manage privileges,export data into various formats.


If you install Wamp, Xammp or EasyPHP, phpMyAdmin is included in the package. If you manually installed Apache, PHP and MySQL, you can download phpMyAdmin at their officail site. (Click here to download)


phpMyAdmin home

1: Create database using phpMyAdmin

mysql create database1. To create new database use this form, type database name then click “Create” button. In this example I create database name “test_create_DB”.

2: Create table

Create table form
mysql create table1. After created database. this form’ll be display. Enter the name of table and number of field. In this example, I create table name “web_members” for store my web members and it have 4 fields (id, name, lastname, email)


Result after created table on database

3: Create table by runing SQL query

1. You can create table by run SQL query for example, put this code in the form and click “Go”

or browse from text file (read export database for creating text file (.sql))

4: Export database

In tab Export. You can export your database in many format like

– SQL (text file .sql)
– Latex
– Microsoft Exel 2000
– Microsoft Word 2000
– CVS for MS Exel

1. Select table you want to export or select all table.
2. Select file format
3. Select save as file(if you want to save as a file if not select it’ll show you only Sql query)
4. Select compression
– None
– zipped (.zip)
– gzipped (.gzip)

Related Post

Leave a Reply

Your email address will not be published. Required fields are marked *