BitDaddys

BitDaddys
Home

Product Sections
Product Locator
Email Utilities
Database Utilities
Other Products

Reference Sections
Articles
MySQL
Outlook - Import EML
.net Network Security
Flash
Fireworks
PHP
DB/C
Java
Email File Extensions
EML email file extension
MSG email file extension
TNEF email file extension
TXT email file extension
HTML email file extension
Java Script

OISV - Organization of Independant Software Vendors - Charter Member

Recommended Links

Get Firefox



Get Thunderbird  

MySQL

Find good sites at
Find good sites at Gimpsy  

 

Web Master:

Keith Birchfield


MSGDETACH
MySQL Data Backup Tool
BitDaddys Corp.
$12.00

More Info
Free Trial
Buy Now!
Unique and Easy to use MySQL Database backups. Powerful Hourly Rotations. more ...
MySQL Tutorials Table Of Contents
Part 1: Start MySQL and Create Databases and Tables (Create)
Part 2: Add Data (Insert and Replace)
Part 3: Show Data (Select)
Part 4: Delete Data (Delete and Drop)
Part 5: Backup Data (Dump)
How to use C# and MySQL Connector/Net


How to use MySQL 5.0. Part 1: Start and Create
(greatly simplified)

This article and tutorial describes and demonstrates how you can:

  • [ click here ] Start the MySQL Command Line Client
  • [ click here ] Create and use a new Database in MySQL
  • [ click here ] Create and a new MySQL 5.0 table
  • [ click here ] List available tables in a MySQL 5.0 database
  • [ click here ] Display information about tables in a MySQL 5.0 database
  • [ click here ] Create a windows application to read MySQL.

Start MySQL Client

Steps To Start the MySQL Command Line Client Visual Demonstration
  1. Click on "Start "
  2. Click on "Programs"
  3. Click on "MySQL"
  4. Click on "MySQL Server 5.0 "
  5. Click on "MySQL Command Line Client "

[ return to top ]


How do I create a new Database in MySQL 5.0?

Create and start using the Database

Steps to Create and use a new MySQL Database Visual Demonstration
  1. Enter your password
  2. Type 'create database databasename;'
  3. Type 'use database databasename;'
Demo of how to Create a Database

Syntax:

CREATE DATABASE IF NOT EXISTS db_name

for more info ...

[ return to top ]


How do I create a new Table in MySQL 5.0?

Create a new table

Steps to Create a new table in MySQL Visual Demonstration
  1. Type 'drop table if exists mytable;' to remove old table
  2. Type 'create table if not exists mytable' to begin the create table statement
  3. Type '(id int not null auto_increment,' to begin the column definitions and specify a controlled primary key
  4. Type ' x varchar(80),' to specify column name and type .. repeat until all columns are defined
  5. Type 'primary key (id));' to complete the table creation syntax and specify your primary key

Syntax:

CREATE TABLE IF NOT EXISTS tbl_name ( column definitions,..., primary key(idcolumn)) ;

more info ...

where ( column definitions,..., primary key(idcolumn)) describes a list of columns and the primary key

Type Description Example
AUTO_INCREMENT Automatically increments when new records added, use only with numeric types like INT id int auto_increment
INT Numeric Integer data type customer_no int
DOUBLE Numeric double precision floating point data type, includes total number of numbers and number of numbers to the right of the decimal point. The example represents 7.2 or seven numbers to the left and two numbers to the right of the decimal .. for a total of nine numbers. dollars_spent double(9,2)
VARCHAR Text data type, includes length of text in parens. This is a variable length string that can be up to 65,535 in length! customer_note varchar(64000)

more info ...

[ return to top ]


Retrieve a list of tables in the current Database

Show Tables

Steps to List Tables in MySQL Visual Demonstration
  1. Type 'show tables;'

Syntax:

SHOW TABLES

more info ...

 

[ return to top ]


Display information about a MySQL table

Describe Table

Steps to List Tables in MySQL Visual Demonstration
  1. Type 'describe mytable;'

Syntax:

DESCRIBE tbl_name

more info ...

[ return to top ]


 

 

 
OISV - Organization of Independant Software Vendors - Charter Member
Highlighted Products
ThunderStor
ThunderStor
BitDaddys Corp.
$10

More Info
Free Trial
Buy Now!
ThunderStor offers the user a simple, fast and effective method to extract ThunderBird Mail from the mail box files to individual standard email message files.

EMLDETACH
EMLDETACH
BitDaddys Corp.
$12.00

More Info
Free Trial
Buy Now!
Detach Email Attachments from your .eml files and Save them wherever you want! Extract your message attachments from eml files. more ...

emlBridge
BitDaddys Corp.
$12.00

More Info
Free Trial
Buy Now!
Import eml Files into nearly any Email Client. With emlBridge you can import rfc822 standard text email files into programs like Outlook, Thunderbird and Outlook Express more ...

O2X
ODBC 2 C#
BitDaddys Corp.
$5.00

More Info
Free Trial
Buy Now!
Convert ODBC table information into a c# class and a ready to use Visual Studio 2003 project more ...

emltohtml
BitDaddys Corp.
$14.00

More Info
Free Trial
Buy Now!
Convert eml Email Files into HTML Web Pages and more ...

MSGDETACH
MSGDETACH
BitDaddys Corp.
$14.00

More Info
Free Trial
Buy Now!
Detach Email Attachments from your Email and Save them wherever you want! Extract your message attachments from Outlook msg files. more ...

MSGDETACH
mboxPack
BitDaddys Corp.
$10.00

More Info
Free Trial
Buy Now!
Pack email files into mbox files. Plain text, individual eml,msg,txt files to Thunderstor compatable and ready to use mbox more ...

EML and MSG converter
BitDaddys Corp.
$14.00

More Info
Free Trial
Buy Now!
Convert eml and msg Files into EML, MSG,TXT, TNEF, HTML more ...


Google

About Us | Site Map | Privacy | Contact Us | ©2008 BitDaddys Corp.