Make coding learn easy

how to create database in locahost with phpmyadmin


create database with phpmyadmin in localhost, in this post i use XAMPP for localhost application server, and if you need to download installer, you can download it from the official page:

Download XAMPP 

if you have, install XAMPP and run the application server like this image below:


1. Create Database
and after you click start XAMPP, now you can running phpmyadmin with open url http://localhost/phpmyadmin on browser:


now you can create database, first click 'New' on left phpmyadmin page, write database name , and click 'Create'.


2. Create Table in database
after create database you need to make table for your database, first write table name, choose number of columns, and click 'Go'.


after click Go, now you must write and setting table, for basic setting for table, first write name of column, 2. choose type of column, 3. write length column with number, 4. choose null if you need to must filled, choose Index for primary key for table, check null if you need a column  filled by self, 5. click save.


if you have page like below, you have created database with table in localhost with phpmyadmin.


finish.
0 Comments for "how to create database in locahost with phpmyadmin "

Back To Top