• Home
  • Posts RSS
  • Comments RSS
  • Edit
Blue Orange Green Pink Purple

Development Space - Tips and Tricks

WEB....DEVELOP.....DESIGN.....TIPS....TRICKS....PHP....JQUERY.....JAVASCRIPT

Creating database, table and managing MySQL database using phpMyAdmin

Overview
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
Dowload Here 

Installation
- Put phpMyAdmin folder where you keep php file

phpMyAdmin

phpMyAdmin home


Create database using phpMyAdmin
Create new database form 

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



Create table
Create table form 

mysql create table
1. 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 


Create table by runing SQL query
SQL Page 

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

CREATE TABLE `web_members` (
`id` int(4) NOT NULL auto_increment,
`name` varchar(65) NOT NULL default '',
`lastname` varchar(65) NOT NULL default '',
`email` varchar(65) NOT NULL default '',
PRIMARY KEY (`id`)
) TYPE=MyISAM AUTO_INCREMENT=1 ;

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


Export database
Export page 

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
- CVS
- XML

Step
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)
於 Wednesday, May 18, 2011
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest
標籤: MYSQL

0 意見:

Post a Comment

Newer Post Older Post Home
Subscribe to: Post Comments (Atom)

Development Space

  • About
      A Cool General Website Development Tips and Tricks. Check out out cool web development tips and tricks. Our tips range from design and programming
  • Category

    • JQuery (15)
    • MYSQL (2)
    • PHP (3)

    Blog Archive

    • ▼  2011 (22)
      • May (22)
    • ►  2008 (1)
      • April (1)

    Total Pageviews

  • Search






    • Home
    • Posts RSS
    • Comments RSS
    • Edit

    © Copyright Dev Space Tips. All rights reserved.

    Back to Top