SlideShare una empresa de Scribd logo
1 de 32
Descargar para leer sin conexión
MySQL
An Introduction
Databases 101
What is MySQL ?
• MySQL is an open source relational
database management system.
• It includes the SQL server and client
programs for accessing the server.
• Widely used by web application
developers, together with PHP and
APACHE
• It is pronounced My-es-que-el
(Not My-Sequel)
MySQL AB
• MySQL AB is a commercial entity
• Marketing & Development
• Originally established in Sweden
• A virtual corporation
• Service, support, training and
consulting
• Profitable since inception
Fact Sheet
• Most popular open source
database
• over 100 million copies
downloaded or distributed
• 6,000,000 active installations
• 35,000 downloads a day
• Certified for all SAP applications
• Elite client list—Yahoo!, NASA,
Google
• Proven track record
Why learn MySQL?
• Leading open source RDBMS
• Ease of use – No frills
• Fast
• Robust
• Security
• Multiple OS support
• Free
• Technical support
• Support large database– up to 50
million rows, file size limit up to 8
Million TB
The MySQL Value Proposition
IBM, ORACLE and Microsoft
“The top dogs”
The enterprise/SMB market
Market Strength, Brand Equity, Track Record and Feature Variety
MySQL “The underdog” – Disruptive technology, Commoditized Market
Performance, Reliability, Security, Performance
MySQL RDBMS SOURCE
Commercial License GPL open source License
Embedded Database
Client-Server model
Standalone server
FREE
Service Support, training and Consulting
Which edition to use?
• MySQL Enterprise
– most comprehensive offering of MySQL database
software, services and support
• MySQL Cluster
– a fault tolerant database clustering architecture
for deploying highly available mission-critical
database applications
• MySQL Embedded Database
– most popular choice for OEMs/ISVs who want to
cost-effectively embed or bundle a reliable and
high-performance relational database
• MySQL community edition
MySQL Community vs. Enterprise
MySQL Enterprise
• MySQL Enterprise Monitor
– a "Virtual DBA Assistant" to enforce MySQL
recommended best practices
• MySQL Enterprise Server
• MySQL Production Support
– get your toughest technical questions
answered quickly
– advise you on how to properly design and
tune your MySQL servers, schema, queries,
and replication set-up
Platinum
Gold
Silver
Basic
$4995/server/Year
$2995/server/Year
$1995/server/Year
$595/server/Year
Where can I get MySQL ?
• http://www.mysql.com/downloads/
• Make sure you pick the correct version
for your OS
• Download MySQL 5.0 Community
Server GA
• Download MySQL Administrator
• Download MySQL Migration Toolkit
• Download MySQL Query Browser
Installing the server
• Follow the screenshots
Installing the server
Installing the server
Installing the server
Installing the server
Installing the server
Installing the server
Installing the server
Installing the server
• If you have firewall, remember
to unblock TCP port 3306
• If you prefer GUI operations,
install Administrator, Migration
Toolkit and Query Brower
• Configuration parameters
stored in “C:Program
FilesMySQLMySQL Server
5.0my.ini”
• Change configuration by
“server instance configuration
wizard”
MySQL administrator
Query browser
A set of command line utilities
• mysqld, mysql, mysqladmin, mysqldump
(located in C:Program FilesMySQLMySQL
Server 5.0bin)
• What is it ?
• Why do I want to use it ?
• For what all can I use it ?
• See handout later
About Data types …
• Detailed help in describing your
fields can be found online at the
MySQL user manual. These two
links are very helpful
http://dev.mysql.com/doc/refman/5.0/en
/string-types.html
http://dev.mysql.com/doc/refman/5.0/en
/numeric-types.html
In General:
Refer to chapter 11 of the user manual at
www.mysql.com/doc/en/Reference.html
Quick Example of data types
privileges
Storage engine and table types
• ISAM
– Indexed Sequential Access Method
– Fastest table type in MySQL
– Originally used in mSQL by TcX (the
predecessor of MySQL AB)
– Do not support transactions and
foreign key
– No longer supported after version 5.1
• InnoDB
– Purchased by MySQL later
– Large data volume, heavy-load
production system
– Support transactions and foreign key
Word of advice ..
• Describe your fields correctly
• Describe your data tightly
• Secure your server well
• Understand the mechanics
• Use the manual
• Use the mailing list
Questions ?

Más contenido relacionado

La actualidad más candente

La actualidad más candente (20)

MySQL Enterprise Edition Overview
MySQL Enterprise Edition OverviewMySQL Enterprise Edition Overview
MySQL Enterprise Edition Overview
 
Using AWS CloudFormation for AWS Multi-AZ VPC Deployment
Using AWS CloudFormation for AWS Multi-AZ VPC DeploymentUsing AWS CloudFormation for AWS Multi-AZ VPC Deployment
Using AWS CloudFormation for AWS Multi-AZ VPC Deployment
 
InnoDb Vs NDB Cluster
InnoDb Vs NDB ClusterInnoDb Vs NDB Cluster
InnoDb Vs NDB Cluster
 
MySQL for Oracle DBAs
MySQL for Oracle DBAsMySQL for Oracle DBAs
MySQL for Oracle DBAs
 
MySQL Tech Tour 2015 - Manage & Tune
MySQL Tech Tour 2015 - Manage & TuneMySQL Tech Tour 2015 - Manage & Tune
MySQL Tech Tour 2015 - Manage & Tune
 
MySQL Latest News
MySQL Latest NewsMySQL Latest News
MySQL Latest News
 
MySQL Community and Commercial Edition
MySQL Community and Commercial EditionMySQL Community and Commercial Edition
MySQL Community and Commercial Edition
 
MySQL Dublin Event Nov 2018 - MySQL 8
MySQL Dublin Event Nov 2018 - MySQL 8MySQL Dublin Event Nov 2018 - MySQL 8
MySQL Dublin Event Nov 2018 - MySQL 8
 
What's new in MySQL 5.5?
What's new in MySQL 5.5?What's new in MySQL 5.5?
What's new in MySQL 5.5?
 
MySQL in Oracle environment : Quick start guide for Oracle DBA (Part 1)
MySQL in Oracle environment : Quick start guide for Oracle DBA (Part 1)MySQL in Oracle environment : Quick start guide for Oracle DBA (Part 1)
MySQL in Oracle environment : Quick start guide for Oracle DBA (Part 1)
 
MySQL At University Of Nottingham - 2018 MySQL Days
MySQL At University Of Nottingham - 2018 MySQL DaysMySQL At University Of Nottingham - 2018 MySQL Days
MySQL At University Of Nottingham - 2018 MySQL Days
 
MySQL NoSQL Document Store
MySQL NoSQL Document StoreMySQL NoSQL Document Store
MySQL NoSQL Document Store
 
WEB SERVER
WEB SERVERWEB SERVER
WEB SERVER
 
Scale out magento 2 at aws
Scale out magento 2 at awsScale out magento 2 at aws
Scale out magento 2 at aws
 
Mysql security 5.7
Mysql security 5.7 Mysql security 5.7
Mysql security 5.7
 
MySQL 5.6, news in 5.7 and our HA options
MySQL 5.6, news in 5.7 and our HA optionsMySQL 5.6, news in 5.7 and our HA options
MySQL 5.6, news in 5.7 and our HA options
 
Developing Java EE applications with NetBeans and Payara
Developing Java EE applications with NetBeans and PayaraDeveloping Java EE applications with NetBeans and Payara
Developing Java EE applications with NetBeans and Payara
 
NSA - No thanks - Build your own cloud with OpenStack and Cloud Foundry | any...
NSA - No thanks - Build your own cloud with OpenStack and Cloud Foundry | any...NSA - No thanks - Build your own cloud with OpenStack and Cloud Foundry | any...
NSA - No thanks - Build your own cloud with OpenStack and Cloud Foundry | any...
 
MySQL 8
MySQL 8MySQL 8
MySQL 8
 
Why MySQL High Availability Matters
Why MySQL High Availability MattersWhy MySQL High Availability Matters
Why MySQL High Availability Matters
 

Destacado

MySQL Database System Hiep Dinh
MySQL Database System Hiep DinhMySQL Database System Hiep Dinh
MySQL Database System Hiep Dinh
webhostingguy
 

Destacado (12)

MySQL 101
MySQL 101MySQL 101
MySQL 101
 
Html , php, mysql intro
Html , php, mysql introHtml , php, mysql intro
Html , php, mysql intro
 
My SQL 101
My SQL 101My SQL 101
My SQL 101
 
MySQL Database System Hiep Dinh
MySQL Database System Hiep DinhMySQL Database System Hiep Dinh
MySQL Database System Hiep Dinh
 
MySQL Intro JSON NoSQL
MySQL Intro JSON NoSQLMySQL Intro JSON NoSQL
MySQL Intro JSON NoSQL
 
MySQL - Intro to Database
MySQL - Intro to DatabaseMySQL - Intro to Database
MySQL - Intro to Database
 
PHP mysql Introduction database
 PHP mysql  Introduction database PHP mysql  Introduction database
PHP mysql Introduction database
 
BITS: Introduction to relational databases and MySQL - SQL
BITS: Introduction to relational databases and MySQL - SQLBITS: Introduction to relational databases and MySQL - SQL
BITS: Introduction to relational databases and MySQL - SQL
 
MySQL Introduction
MySQL IntroductionMySQL Introduction
MySQL Introduction
 
Introduction to MySQL
Introduction to MySQLIntroduction to MySQL
Introduction to MySQL
 
Introduction to Mysql
Introduction to MysqlIntroduction to Mysql
Introduction to Mysql
 
CBSE XII Database Concepts And MySQL Presentation
CBSE XII Database Concepts And MySQL PresentationCBSE XII Database Concepts And MySQL Presentation
CBSE XII Database Concepts And MySQL Presentation
 

Similar a MySQL 简要介绍

20090425mysqlslides 12593434194072-phpapp02
20090425mysqlslides 12593434194072-phpapp0220090425mysqlslides 12593434194072-phpapp02
20090425mysqlslides 12593434194072-phpapp02
Vinamra Mittal
 
MySQL Enterprise Monitor
MySQL Enterprise MonitorMySQL Enterprise Monitor
MySQL Enterprise Monitor
Mario Beck
 

Similar a MySQL 简要介绍 (20)

My sql
My sqlMy sql
My sql
 
20090425mysqlslides 12593434194072-phpapp02
20090425mysqlslides 12593434194072-phpapp0220090425mysqlslides 12593434194072-phpapp02
20090425mysqlslides 12593434194072-phpapp02
 
MySQL overview
MySQL overviewMySQL overview
MySQL overview
 
MySQL Day Paris 2016 - Introducing Oracle MySQL Cloud Service
MySQL Day Paris 2016 - Introducing Oracle MySQL Cloud ServiceMySQL Day Paris 2016 - Introducing Oracle MySQL Cloud Service
MySQL Day Paris 2016 - Introducing Oracle MySQL Cloud Service
 
MySQL Features & Implementation
MySQL Features & ImplementationMySQL Features & Implementation
MySQL Features & Implementation
 
MySQL Enterprise Edition - Complete Guide (2019)
MySQL Enterprise Edition - Complete Guide (2019)MySQL Enterprise Edition - Complete Guide (2019)
MySQL Enterprise Edition - Complete Guide (2019)
 
MySQL Day Paris 2016 - State Of The Dolphin
MySQL Day Paris 2016 - State Of The DolphinMySQL Day Paris 2016 - State Of The Dolphin
MySQL Day Paris 2016 - State Of The Dolphin
 
Meet MariaDB Server 10.1 London MySQL meetup December 2015
Meet MariaDB Server 10.1 London MySQL meetup December 2015Meet MariaDB Server 10.1 London MySQL meetup December 2015
Meet MariaDB Server 10.1 London MySQL meetup December 2015
 
与 PHP 和 Perl 使用 MySQL 数据库
与 PHP 和 Perl 使用 MySQL 数据库与 PHP 和 Perl 使用 MySQL 数据库
与 PHP 和 Perl 使用 MySQL 数据库
 
1 my sql20151219-kaji_ivan
1 my sql20151219-kaji_ivan1 my sql20151219-kaji_ivan
1 my sql20151219-kaji_ivan
 
MySQL 8: Ready for Prime Time
MySQL 8: Ready for Prime TimeMySQL 8: Ready for Prime Time
MySQL 8: Ready for Prime Time
 
MySQL Enterprise Portfolio
MySQL Enterprise PortfolioMySQL Enterprise Portfolio
MySQL Enterprise Portfolio
 
MySQL in oracle_public_cloud
MySQL in oracle_public_cloudMySQL in oracle_public_cloud
MySQL in oracle_public_cloud
 
Introduction to MySQL
Introduction to MySQLIntroduction to MySQL
Introduction to MySQL
 
MySQL Enterprise Monitor
MySQL Enterprise MonitorMySQL Enterprise Monitor
MySQL Enterprise Monitor
 
[OSC 2020 Osaka] MySQL"超"入門
[OSC 2020 Osaka] MySQL"超"入門[OSC 2020 Osaka] MySQL"超"入門
[OSC 2020 Osaka] MySQL"超"入門
 
2015: Whats New in MySQL 5.7, At Oracle Open World, November 3rd, 2015
2015: Whats New in MySQL 5.7, At Oracle Open World, November 3rd, 2015 2015: Whats New in MySQL 5.7, At Oracle Open World, November 3rd, 2015
2015: Whats New in MySQL 5.7, At Oracle Open World, November 3rd, 2015
 
MySQL for Software-as-a-Service (SaaS)
MySQL for Software-as-a-Service (SaaS)MySQL for Software-as-a-Service (SaaS)
MySQL for Software-as-a-Service (SaaS)
 
Using MySQL in the Cloud
Using MySQL in the CloudUsing MySQL in the Cloud
Using MySQL in the Cloud
 
MySQL in oracle public cloud
MySQL in oracle public cloudMySQL in oracle public cloud
MySQL in oracle public cloud
 

Más de YUCHENG HU

Confluence 回顾(retrospectives) 蓝图 cwikiossez
Confluence 回顾(retrospectives) 蓝图   cwikiossezConfluence 回顾(retrospectives) 蓝图   cwikiossez
Confluence 回顾(retrospectives) 蓝图 cwikiossez
YUCHENG HU
 

Más de YUCHENG HU (20)

Confluencewiki 使用空间
Confluencewiki 使用空间Confluencewiki 使用空间
Confluencewiki 使用空间
 
Git
GitGit
Git
 
Presta shop 1.6 如何安装简体中文语言文件
Presta shop 1.6 如何安装简体中文语言文件Presta shop 1.6 如何安装简体中文语言文件
Presta shop 1.6 如何安装简体中文语言文件
 
Logback 介绍
Logback 介绍Logback 介绍
Logback 介绍
 
Presta shop 1.6 详细安装指南
Presta shop 1.6 详细安装指南Presta shop 1.6 详细安装指南
Presta shop 1.6 详细安装指南
 
Presta shop 1.6 的安装环境
Presta shop 1.6 的安装环境Presta shop 1.6 的安装环境
Presta shop 1.6 的安装环境
 
Presta shop 1.6 如何安装简体中文语言文件
Presta shop 1.6 如何安装简体中文语言文件Presta shop 1.6 如何安装简体中文语言文件
Presta shop 1.6 如何安装简体中文语言文件
 
Presta shop 1.6 图文安装教程
Presta shop 1.6 图文安装教程Presta shop 1.6 图文安装教程
Presta shop 1.6 图文安装教程
 
V tiger 5.4.0 图文安装教程
V tiger 5.4.0 图文安装教程V tiger 5.4.0 图文安装教程
V tiger 5.4.0 图文安装教程
 
Confluence 回顾(retrospectives) 蓝图 cwikiossez
Confluence 回顾(retrospectives) 蓝图   cwikiossezConfluence 回顾(retrospectives) 蓝图   cwikiossez
Confluence 回顾(retrospectives) 蓝图 cwikiossez
 
Confluence 会议记录(meeting notes)蓝图 cwikiossez
Confluence 会议记录(meeting notes)蓝图   cwikiossezConfluence 会议记录(meeting notes)蓝图   cwikiossez
Confluence 会议记录(meeting notes)蓝图 cwikiossez
 
VTIGER - 销售机会 - CWIKIOSSEZ
VTIGER - 销售机会 - CWIKIOSSEZ VTIGER - 销售机会 - CWIKIOSSEZ
VTIGER - 销售机会 - CWIKIOSSEZ
 
Confluence 使用一个模板新建一个页面 cwikiossez
Confluence 使用一个模板新建一个页面     cwikiossezConfluence 使用一个模板新建一个页面     cwikiossez
Confluence 使用一个模板新建一个页面 cwikiossez
 
Confluence 使用模板
Confluence 使用模板Confluence 使用模板
Confluence 使用模板
 
Cwikiossez confluence 订阅页面更新邮件通知
Cwikiossez confluence 订阅页面更新邮件通知Cwikiossez confluence 订阅页面更新邮件通知
Cwikiossez confluence 订阅页面更新邮件通知
 
Cwikiossez confluence 关注页面 博客页面和空间
Cwikiossez confluence 关注页面 博客页面和空间Cwikiossez confluence 关注页面 博客页面和空间
Cwikiossez confluence 关注页面 博客页面和空间
 
My sql università di enna a.a. 2005-06
My sql   università di enna a.a. 2005-06My sql   università di enna a.a. 2005-06
My sql università di enna a.a. 2005-06
 
My sql would you like transactions
My sql would you like transactionsMy sql would you like transactions
My sql would you like transactions
 
MySQL 指南
MySQL 指南MySQL 指南
MySQL 指南
 
mysql 5.5.25 用户安装备忘
mysql 5.5.25 用户安装备忘mysql 5.5.25 用户安装备忘
mysql 5.5.25 用户安装备忘
 

Último

+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
?#DUbAI#??##{{(☎️+971_581248768%)**%*]'#abortion pills for sale in dubai@
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
WSO2
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Safe Software
 
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Victor Rentea
 

Último (20)

+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
 
Corporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptxCorporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptx
 
[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
 
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
 
FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024
 
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
 
Six Myths about Ontologies: The Basics of Formal Ontology
Six Myths about Ontologies: The Basics of Formal OntologySix Myths about Ontologies: The Basics of Formal Ontology
Six Myths about Ontologies: The Basics of Formal Ontology
 
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
 
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdfRising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...
 
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
 
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 AmsterdamDEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of Terraform
 
Understanding the FAA Part 107 License ..
Understanding the FAA Part 107 License ..Understanding the FAA Part 107 License ..
Understanding the FAA Part 107 License ..
 
Platformless Horizons for Digital Adaptability
Platformless Horizons for Digital AdaptabilityPlatformless Horizons for Digital Adaptability
Platformless Horizons for Digital Adaptability
 
DBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor PresentationDBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor Presentation
 

MySQL 简要介绍

  • 3. What is MySQL ? • MySQL is an open source relational database management system. • It includes the SQL server and client programs for accessing the server. • Widely used by web application developers, together with PHP and APACHE • It is pronounced My-es-que-el (Not My-Sequel)
  • 4. MySQL AB • MySQL AB is a commercial entity • Marketing & Development • Originally established in Sweden • A virtual corporation • Service, support, training and consulting • Profitable since inception
  • 5. Fact Sheet • Most popular open source database • over 100 million copies downloaded or distributed • 6,000,000 active installations • 35,000 downloads a day • Certified for all SAP applications • Elite client list—Yahoo!, NASA, Google • Proven track record
  • 6. Why learn MySQL? • Leading open source RDBMS • Ease of use – No frills • Fast • Robust • Security • Multiple OS support • Free • Technical support • Support large database– up to 50 million rows, file size limit up to 8 Million TB
  • 7. The MySQL Value Proposition
  • 8. IBM, ORACLE and Microsoft “The top dogs” The enterprise/SMB market Market Strength, Brand Equity, Track Record and Feature Variety MySQL “The underdog” – Disruptive technology, Commoditized Market Performance, Reliability, Security, Performance
  • 9. MySQL RDBMS SOURCE Commercial License GPL open source License Embedded Database Client-Server model Standalone server FREE Service Support, training and Consulting
  • 10. Which edition to use? • MySQL Enterprise – most comprehensive offering of MySQL database software, services and support • MySQL Cluster – a fault tolerant database clustering architecture for deploying highly available mission-critical database applications • MySQL Embedded Database – most popular choice for OEMs/ISVs who want to cost-effectively embed or bundle a reliable and high-performance relational database • MySQL community edition
  • 11. MySQL Community vs. Enterprise
  • 12. MySQL Enterprise • MySQL Enterprise Monitor – a "Virtual DBA Assistant" to enforce MySQL recommended best practices • MySQL Enterprise Server • MySQL Production Support – get your toughest technical questions answered quickly – advise you on how to properly design and tune your MySQL servers, schema, queries, and replication set-up
  • 14. Where can I get MySQL ? • http://www.mysql.com/downloads/ • Make sure you pick the correct version for your OS • Download MySQL 5.0 Community Server GA • Download MySQL Administrator • Download MySQL Migration Toolkit • Download MySQL Query Browser
  • 15. Installing the server • Follow the screenshots
  • 23. Installing the server • If you have firewall, remember to unblock TCP port 3306 • If you prefer GUI operations, install Administrator, Migration Toolkit and Query Brower • Configuration parameters stored in “C:Program FilesMySQLMySQL Server 5.0my.ini” • Change configuration by “server instance configuration wizard”
  • 26. A set of command line utilities • mysqld, mysql, mysqladmin, mysqldump (located in C:Program FilesMySQLMySQL Server 5.0bin) • What is it ? • Why do I want to use it ? • For what all can I use it ? • See handout later
  • 27. About Data types … • Detailed help in describing your fields can be found online at the MySQL user manual. These two links are very helpful http://dev.mysql.com/doc/refman/5.0/en /string-types.html http://dev.mysql.com/doc/refman/5.0/en /numeric-types.html In General: Refer to chapter 11 of the user manual at www.mysql.com/doc/en/Reference.html
  • 28. Quick Example of data types
  • 30. Storage engine and table types • ISAM – Indexed Sequential Access Method – Fastest table type in MySQL – Originally used in mSQL by TcX (the predecessor of MySQL AB) – Do not support transactions and foreign key – No longer supported after version 5.1 • InnoDB – Purchased by MySQL later – Large data volume, heavy-load production system – Support transactions and foreign key
  • 31. Word of advice .. • Describe your fields correctly • Describe your data tightly • Secure your server well • Understand the mechanics • Use the manual • Use the mailing list