SlideShare a Scribd company logo
What is MySQL? History Facts SQL Databases Alternatives Benefits Drawbacks Setting Up Database Driven Websites How It Works PHP and MySQL Specific SQL Tools A Database Driven SBU ‘Course Guidance’ Website – EXAMPLE OF PROJECT Flowchart Useful Sites Content of Presentation MySQL
What is MySQL? MSQL / MySQL Databases The world's most widely used open source database application.  MySQL  is a relational database management system. World Class SQL Server PHP A server-side, cross-platform, HTML embedded scripting language. Why MySQL and not another database system that supports SQL? MySQL is: Available at little cost ….. or Free Well-supported and Fast MySQL
History In 1996  T.c.X. DataKonsultAB  , a consulting firm in Sweden developed MySQL. Created Alternative database from the general idea of mSQL.  MySQL
Facts MySQL is the largest growing relational database out on the market.  MySQL mainly runs on UNIX-based environments  MySQL acts as a DBMS MySQL is one of the most used open source databases in the world.  Can use Enhanced MySQL Capacity to handle 50,000,000+ records.  Very fast command execution, perhaps the fastest to be found on the market.  Easy and efficient user privilege system.  MySQL
MySQL SQL Databases
Server Side • Administration • Java • MySQL • PHP • Perl • PostgreSQL • Python • Roxen • Wireless • XML • Zope Client Side • DHTML • Flash • Graphics • JavaScript • Style Sheets • WML MySQL Alternatives
MySQL and PostGreSQL Compared MySQL – Ease of use / long-term stability PostGre - Funtionality Postgres has an arcane limit of 8k of data per row Postgres - its "serial" data type (the equivalent of MySQL's auto_increment) creates a "sequence" which does not get dropped when its parent table is dropped.  MySQL is "smart" enough to increment its auto_increment value when you import data MySQL has no built in method for doing db size limits  MySQL
Benefits (1) Able to handle large databases that can be accessed over the Web.  Flexible and secure password system to protect your data - powerful security system  Fast, reliable, easy to use, and affordable!  Relational database management system  Stability  On-line help facility -  (type –help or -?,) MySQL meets the ANSI SQL92 regulations MySQL
Benefits (2) MySQL allows users to connect to a specific database on the server and issue requests.  Concurrent access This system can run on virtually on any platform – UNIX and Windows MySQL also comes with a source code  MySQL is used at the enterprise level because of its security.  MySQL
Drawbacks The hard part about this is there is not a lot of documentation available MySQL has no built in method for doing db size limits  MySQL requires that you either: code the data integrity into your product or you right some scripts to go through the logs and check that integrity was maintained MySQL
Setting Up Database Driven Websites   Setup the MySQL database server  Setup the Apache web server  Setup the PHP 3.0 Hypertext Preprocessor for server-side-scripting  Create a simple web enabled database MySQL
How It Works   MySQL is based on a client/server model MySQL BLACK BOX CLIENT PROGRAM
PHP and MySQL   the best tools available for the rapid development of database driven web applications, "Open Source" and available at no cost, happen to be particularly easy to learn and use, and yet are quite robust and scalable, are excellent choices for anyone seeking a powerful, affordable, easy and efficient web development environment. MySQL
Specific SQL Tools DBTools Manager  DBUI  exportSQL  ForwardSQL  Intelligent Converters Software  KMySQLAdmin  Mac SQL  MyAccess  MySQL Data Manager  MySQL WebClient  MySQL Admin MySQL
Database Support mySQL -  PHP and MySQL work very well together, in addition to the speed and features of each individual tool.  PHP is open-source,  and offers excellent connectivity to most of today's common databases including Oracle, Sybase, MySQL, ODBC (and others).  PHP also offers integration with various external libraries which enable the developer to do anything from generating PDF documents to parsing XML.
MySQL Example Connect to MySQL.  Send a query.  Print a table heading.  Print table rows until end of the table has been reached.
MySQL Example <?php    $conn  =  mysql_connect ( $host ,  $user ,  $password ); mysql_select_db ( $dbname ); $res  =  mysql_query ( &quot;SELECT * FROM users&quot; ,  $conn );  $header_printed  =  false ;  print  &quot;<TABLE>\n&quot; ;  do { $data  =  mysql_fetch_array ( $res ,  MYSQL_ASSOC );       // Retrieve the next row of data.       if ( !  is_array ( $data ) ) {          break;       }     
MySQL Example ( continue ) if ( !  $header_printed  ) {          print  &quot; <TR>&quot; ;           reset ( $data );          while (list( $name ,  $value ) =  each ( $data )) {              print  &quot;  <TH>$name</TH> \n &quot;           }          print  &quot; </TR>\n&quot; ;           $header_printed  =  true ;      }      print  &quot; <TR>\n&quot; ;      print  &quot;  <TD>&quot; ;       print  implode ( &quot;</TD>\n  <TD>&quot; ,  $data );      print  &quot; </TR>\n&quot; ;  } while ( $data );  print  &quot;</TABLE>\n&quot; ;  ?>
Ad

More Related Content

What's hot (20)

Extensible Database APIs and their role in Software Architecture
Extensible Database APIs and their role in Software ArchitectureExtensible Database APIs and their role in Software Architecture
Extensible Database APIs and their role in Software Architecture
Max Neunhöffer
 
Sql vs. NoSql
Sql vs. NoSqlSql vs. NoSql
Sql vs. NoSql
Chuong Mai
 
SQL vs NoSQL, an experiment with MongoDB
SQL vs NoSQL, an experiment with MongoDBSQL vs NoSQL, an experiment with MongoDB
SQL vs NoSQL, an experiment with MongoDB
Marco Segato
 
10 mongo db
10 mongo db10 mongo db
10 mongo db
Ahmed Elbassel
 
SQL vs NoSQL
SQL vs NoSQLSQL vs NoSQL
SQL vs NoSQL
Skills Matter
 
SQL vs NoSQL: Big Data Adoption & Success in the Enterprise
SQL vs NoSQL: Big Data Adoption & Success in the EnterpriseSQL vs NoSQL: Big Data Adoption & Success in the Enterprise
SQL vs NoSQL: Big Data Adoption & Success in the Enterprise
Anita Luthra
 
iForum 2015: SQL vs. NoSQL
iForum 2015: SQL vs. NoSQLiForum 2015: SQL vs. NoSQL
iForum 2015: SQL vs. NoSQL
Денис Резник
 
NoSQL Databases
NoSQL DatabasesNoSQL Databases
NoSQL Databases
BADR
 
NoSQL vs SQL (by Dmitriy Beseda, JS developer and coach Binary Studio Academy)
NoSQL vs SQL (by Dmitriy Beseda, JS developer and coach Binary Studio Academy)NoSQL vs SQL (by Dmitriy Beseda, JS developer and coach Binary Studio Academy)
NoSQL vs SQL (by Dmitriy Beseda, JS developer and coach Binary Studio Academy)
Binary Studio
 
Guacamole
GuacamoleGuacamole
Guacamole
ArangoDB Database
 
Visualizing a Database Structure with SchemaSpy
Visualizing a Database Structure with SchemaSpyVisualizing a Database Structure with SchemaSpy
Visualizing a Database Structure with SchemaSpy
Guo Albert
 
Nosql
NosqlNosql
Nosql
Dhanshri Nagargoje
 
Sql vs NO-SQL database differences explained
Sql vs NO-SQL database differences explainedSql vs NO-SQL database differences explained
Sql vs NO-SQL database differences explained
Satya Pal
 
Introduction to NOSQL databases
Introduction to NOSQL databasesIntroduction to NOSQL databases
Introduction to NOSQL databases
Ashwani Kumar
 
Introduction to NoSQL Databases
Introduction to NoSQL DatabasesIntroduction to NoSQL Databases
Introduction to NoSQL Databases
Derek Stainer
 
Comparison of Drupal and WordPress
Comparison of Drupal and WordPressComparison of Drupal and WordPress
Comparison of Drupal and WordPress
Stern Data Solutions
 
Cassandra-vs-MongoDB
Cassandra-vs-MongoDBCassandra-vs-MongoDB
Cassandra-vs-MongoDB
Jainul Musani
 
Maria DBMS
Maria DBMSMaria DBMS
Maria DBMS
Ramez Al-Fayez
 
Multi model-databases
Multi model-databasesMulti model-databases
Multi model-databases
Michael Hackstein
 
FOXX - a Javascript application framework on top of ArangoDB
FOXX - a Javascript application framework on top of ArangoDBFOXX - a Javascript application framework on top of ArangoDB
FOXX - a Javascript application framework on top of ArangoDB
ArangoDB Database
 
Extensible Database APIs and their role in Software Architecture
Extensible Database APIs and their role in Software ArchitectureExtensible Database APIs and their role in Software Architecture
Extensible Database APIs and their role in Software Architecture
Max Neunhöffer
 
SQL vs NoSQL, an experiment with MongoDB
SQL vs NoSQL, an experiment with MongoDBSQL vs NoSQL, an experiment with MongoDB
SQL vs NoSQL, an experiment with MongoDB
Marco Segato
 
SQL vs NoSQL: Big Data Adoption & Success in the Enterprise
SQL vs NoSQL: Big Data Adoption & Success in the EnterpriseSQL vs NoSQL: Big Data Adoption & Success in the Enterprise
SQL vs NoSQL: Big Data Adoption & Success in the Enterprise
Anita Luthra
 
NoSQL Databases
NoSQL DatabasesNoSQL Databases
NoSQL Databases
BADR
 
NoSQL vs SQL (by Dmitriy Beseda, JS developer and coach Binary Studio Academy)
NoSQL vs SQL (by Dmitriy Beseda, JS developer and coach Binary Studio Academy)NoSQL vs SQL (by Dmitriy Beseda, JS developer and coach Binary Studio Academy)
NoSQL vs SQL (by Dmitriy Beseda, JS developer and coach Binary Studio Academy)
Binary Studio
 
Visualizing a Database Structure with SchemaSpy
Visualizing a Database Structure with SchemaSpyVisualizing a Database Structure with SchemaSpy
Visualizing a Database Structure with SchemaSpy
Guo Albert
 
Sql vs NO-SQL database differences explained
Sql vs NO-SQL database differences explainedSql vs NO-SQL database differences explained
Sql vs NO-SQL database differences explained
Satya Pal
 
Introduction to NOSQL databases
Introduction to NOSQL databasesIntroduction to NOSQL databases
Introduction to NOSQL databases
Ashwani Kumar
 
Introduction to NoSQL Databases
Introduction to NoSQL DatabasesIntroduction to NoSQL Databases
Introduction to NoSQL Databases
Derek Stainer
 
Comparison of Drupal and WordPress
Comparison of Drupal and WordPressComparison of Drupal and WordPress
Comparison of Drupal and WordPress
Stern Data Solutions
 
Cassandra-vs-MongoDB
Cassandra-vs-MongoDBCassandra-vs-MongoDB
Cassandra-vs-MongoDB
Jainul Musani
 
FOXX - a Javascript application framework on top of ArangoDB
FOXX - a Javascript application framework on top of ArangoDBFOXX - a Javascript application framework on top of ArangoDB
FOXX - a Javascript application framework on top of ArangoDB
ArangoDB Database
 

Similar to Mysql (20)

Introduction to Mysql
Introduction to MysqlIntroduction to Mysql
Introduction to Mysql
Tushar Chauhan
 
20090425mysqlslides 12593434194072-phpapp02
20090425mysqlslides 12593434194072-phpapp0220090425mysqlslides 12593434194072-phpapp02
20090425mysqlslides 12593434194072-phpapp02
Vinamra Mittal
 
Mysql
MysqlMysql
Mysql
SHC
 
Database Systems and SQL
Database Systems and SQLDatabase Systems and SQL
Database Systems and SQL
SabahtHussein
 
Why Do I Need Mysql for A Website....pdf
Why Do I Need Mysql for A Website....pdfWhy Do I Need Mysql for A Website....pdf
Why Do I Need Mysql for A Website....pdf
Shattered Silicon
 
Mysql tutorial 5257
Mysql tutorial 5257Mysql tutorial 5257
Mysql tutorial 5257
Phuong Do Anh
 
My sql crashcourse_intro_kdl
My sql crashcourse_intro_kdlMy sql crashcourse_intro_kdl
My sql crashcourse_intro_kdl
sqlhjalp
 
Mysql tutorial
Mysql tutorialMysql tutorial
Mysql tutorial
Pankaj Sipl
 
Scalable relational database with SQL Azure
Scalable relational database with SQL AzureScalable relational database with SQL Azure
Scalable relational database with SQL Azure
Shy Engelberg
 
Mysql
MysqlMysql
Mysql
Raghu nath
 
Compare the capabilities of the Microsoft Access, Microsoft SQL Serv.pdf
Compare the capabilities of the Microsoft Access, Microsoft SQL Serv.pdfCompare the capabilities of the Microsoft Access, Microsoft SQL Serv.pdf
Compare the capabilities of the Microsoft Access, Microsoft SQL Serv.pdf
arihantplastictanksh
 
Connecting to my sql using PHP
Connecting to my sql using PHPConnecting to my sql using PHP
Connecting to my sql using PHP
Nisa Soomro
 
DEE 431 Introduction to Mysql Slide 3
DEE 431 Introduction to Mysql Slide 3DEE 431 Introduction to Mysql Slide 3
DEE 431 Introduction to Mysql Slide 3
YOGESH SINGH
 
Case study on mysql in rdbms
Case study on mysql in rdbmsCase study on mysql in rdbms
Case study on mysql in rdbms
RajalakshmiK19
 
Nosql seminar
Nosql seminarNosql seminar
Nosql seminar
Shreyashkumar Nangnurwar
 
44spotkaniePLSSUGWRO_CoNowegowKrainieChmur
44spotkaniePLSSUGWRO_CoNowegowKrainieChmur44spotkaniePLSSUGWRO_CoNowegowKrainieChmur
44spotkaniePLSSUGWRO_CoNowegowKrainieChmur
Tobias Koprowski
 
Microsoft Data Platform - What's included
Microsoft Data Platform - What's includedMicrosoft Data Platform - What's included
Microsoft Data Platform - What's included
James Serra
 
My First 100 days with a MySQL DBMS (WP)
My First 100 days with a MySQL DBMS (WP)My First 100 days with a MySQL DBMS (WP)
My First 100 days with a MySQL DBMS (WP)
Gustavo Rene Antunez
 
Megha_Osi my sql productroadmap
Megha_Osi my sql productroadmapMegha_Osi my sql productroadmap
Megha_Osi my sql productroadmap
OpenSourceIndia
 
SQL PPT.pptx
SQL PPT.pptxSQL PPT.pptx
SQL PPT.pptx
Kulbir4
 
20090425mysqlslides 12593434194072-phpapp02
20090425mysqlslides 12593434194072-phpapp0220090425mysqlslides 12593434194072-phpapp02
20090425mysqlslides 12593434194072-phpapp02
Vinamra Mittal
 
Mysql
MysqlMysql
Mysql
SHC
 
Database Systems and SQL
Database Systems and SQLDatabase Systems and SQL
Database Systems and SQL
SabahtHussein
 
Why Do I Need Mysql for A Website....pdf
Why Do I Need Mysql for A Website....pdfWhy Do I Need Mysql for A Website....pdf
Why Do I Need Mysql for A Website....pdf
Shattered Silicon
 
My sql crashcourse_intro_kdl
My sql crashcourse_intro_kdlMy sql crashcourse_intro_kdl
My sql crashcourse_intro_kdl
sqlhjalp
 
Scalable relational database with SQL Azure
Scalable relational database with SQL AzureScalable relational database with SQL Azure
Scalable relational database with SQL Azure
Shy Engelberg
 
Compare the capabilities of the Microsoft Access, Microsoft SQL Serv.pdf
Compare the capabilities of the Microsoft Access, Microsoft SQL Serv.pdfCompare the capabilities of the Microsoft Access, Microsoft SQL Serv.pdf
Compare the capabilities of the Microsoft Access, Microsoft SQL Serv.pdf
arihantplastictanksh
 
Connecting to my sql using PHP
Connecting to my sql using PHPConnecting to my sql using PHP
Connecting to my sql using PHP
Nisa Soomro
 
DEE 431 Introduction to Mysql Slide 3
DEE 431 Introduction to Mysql Slide 3DEE 431 Introduction to Mysql Slide 3
DEE 431 Introduction to Mysql Slide 3
YOGESH SINGH
 
Case study on mysql in rdbms
Case study on mysql in rdbmsCase study on mysql in rdbms
Case study on mysql in rdbms
RajalakshmiK19
 
44spotkaniePLSSUGWRO_CoNowegowKrainieChmur
44spotkaniePLSSUGWRO_CoNowegowKrainieChmur44spotkaniePLSSUGWRO_CoNowegowKrainieChmur
44spotkaniePLSSUGWRO_CoNowegowKrainieChmur
Tobias Koprowski
 
Microsoft Data Platform - What's included
Microsoft Data Platform - What's includedMicrosoft Data Platform - What's included
Microsoft Data Platform - What's included
James Serra
 
My First 100 days with a MySQL DBMS (WP)
My First 100 days with a MySQL DBMS (WP)My First 100 days with a MySQL DBMS (WP)
My First 100 days with a MySQL DBMS (WP)
Gustavo Rene Antunez
 
Megha_Osi my sql productroadmap
Megha_Osi my sql productroadmapMegha_Osi my sql productroadmap
Megha_Osi my sql productroadmap
OpenSourceIndia
 
SQL PPT.pptx
SQL PPT.pptxSQL PPT.pptx
SQL PPT.pptx
Kulbir4
 
Ad

Recently uploaded (20)

Kit-Works Team Study_아직도 Dockefile.pdf_김성호
Kit-Works Team Study_아직도 Dockefile.pdf_김성호Kit-Works Team Study_아직도 Dockefile.pdf_김성호
Kit-Works Team Study_아직도 Dockefile.pdf_김성호
Wonjun Hwang
 
Agentic Automation - Delhi UiPath Community Meetup
Agentic Automation - Delhi UiPath Community MeetupAgentic Automation - Delhi UiPath Community Meetup
Agentic Automation - Delhi UiPath Community Meetup
Manoj Batra (1600 + Connections)
 
Enterprise Integration Is Dead! Long Live AI-Driven Integration with Apache C...
Enterprise Integration Is Dead! Long Live AI-Driven Integration with Apache C...Enterprise Integration Is Dead! Long Live AI-Driven Integration with Apache C...
Enterprise Integration Is Dead! Long Live AI-Driven Integration with Apache C...
Markus Eisele
 
IT484 Cyber Forensics_Information Technology
IT484 Cyber Forensics_Information TechnologyIT484 Cyber Forensics_Information Technology
IT484 Cyber Forensics_Information Technology
SHEHABALYAMANI
 
Reimagine How You and Your Team Work with Microsoft 365 Copilot.pptx
Reimagine How You and Your Team Work with Microsoft 365 Copilot.pptxReimagine How You and Your Team Work with Microsoft 365 Copilot.pptx
Reimagine How You and Your Team Work with Microsoft 365 Copilot.pptx
John Moore
 
The Changing Compliance Landscape in 2025.pdf
The Changing Compliance Landscape in 2025.pdfThe Changing Compliance Landscape in 2025.pdf
The Changing Compliance Landscape in 2025.pdf
Precisely
 
Webinar - Top 5 Backup Mistakes MSPs and Businesses Make .pptx
Webinar - Top 5 Backup Mistakes MSPs and Businesses Make   .pptxWebinar - Top 5 Backup Mistakes MSPs and Businesses Make   .pptx
Webinar - Top 5 Backup Mistakes MSPs and Businesses Make .pptx
MSP360
 
Canadian book publishing: Insights from the latest salary survey - Tech Forum...
Canadian book publishing: Insights from the latest salary survey - Tech Forum...Canadian book publishing: Insights from the latest salary survey - Tech Forum...
Canadian book publishing: Insights from the latest salary survey - Tech Forum...
BookNet Canada
 
GDG Cloud Southlake #42: Suresh Mathew: Autonomous Resource Optimization: How...
GDG Cloud Southlake #42: Suresh Mathew: Autonomous Resource Optimization: How...GDG Cloud Southlake #42: Suresh Mathew: Autonomous Resource Optimization: How...
GDG Cloud Southlake #42: Suresh Mathew: Autonomous Resource Optimization: How...
James Anderson
 
Jignesh Shah - The Innovator and Czar of Exchanges
Jignesh Shah - The Innovator and Czar of ExchangesJignesh Shah - The Innovator and Czar of Exchanges
Jignesh Shah - The Innovator and Czar of Exchanges
Jignesh Shah Innovator
 
Financial Services Technology Summit 2025
Financial Services Technology Summit 2025Financial Services Technology Summit 2025
Financial Services Technology Summit 2025
Ray Bugg
 
Zilliz Cloud Monthly Technical Review: May 2025
Zilliz Cloud Monthly Technical Review: May 2025Zilliz Cloud Monthly Technical Review: May 2025
Zilliz Cloud Monthly Technical Review: May 2025
Zilliz
 
Com fer un pla de gestió de dades amb l'eiNa DMP (en anglès)
Com fer un pla de gestió de dades amb l'eiNa DMP (en anglès)Com fer un pla de gestió de dades amb l'eiNa DMP (en anglès)
Com fer un pla de gestió de dades amb l'eiNa DMP (en anglès)
CSUC - Consorci de Serveis Universitaris de Catalunya
 
Q1 2025 Dropbox Earnings and Investor Presentation
Q1 2025 Dropbox Earnings and Investor PresentationQ1 2025 Dropbox Earnings and Investor Presentation
Q1 2025 Dropbox Earnings and Investor Presentation
Dropbox
 
The Future of Cisco Cloud Security: Innovations and AI Integration
The Future of Cisco Cloud Security: Innovations and AI IntegrationThe Future of Cisco Cloud Security: Innovations and AI Integration
The Future of Cisco Cloud Security: Innovations and AI Integration
Re-solution Data Ltd
 
AI Agents at Work: UiPath, Maestro & the Future of Documents
AI Agents at Work: UiPath, Maestro & the Future of DocumentsAI Agents at Work: UiPath, Maestro & the Future of Documents
AI Agents at Work: UiPath, Maestro & the Future of Documents
UiPathCommunity
 
Integrating FME with Python: Tips, Demos, and Best Practices for Powerful Aut...
Integrating FME with Python: Tips, Demos, and Best Practices for Powerful Aut...Integrating FME with Python: Tips, Demos, and Best Practices for Powerful Aut...
Integrating FME with Python: Tips, Demos, and Best Practices for Powerful Aut...
Safe Software
 
Does Pornify Allow NSFW? Everything You Should Know
Does Pornify Allow NSFW? Everything You Should KnowDoes Pornify Allow NSFW? Everything You Should Know
Does Pornify Allow NSFW? Everything You Should Know
Pornify CC
 
The No-Code Way to Build a Marketing Team with One AI Agent (Download the n8n...
The No-Code Way to Build a Marketing Team with One AI Agent (Download the n8n...The No-Code Way to Build a Marketing Team with One AI Agent (Download the n8n...
The No-Code Way to Build a Marketing Team with One AI Agent (Download the n8n...
SOFTTECHHUB
 
Cybersecurity Threat Vectors and Mitigation
Cybersecurity Threat Vectors and MitigationCybersecurity Threat Vectors and Mitigation
Cybersecurity Threat Vectors and Mitigation
VICTOR MAESTRE RAMIREZ
 
Kit-Works Team Study_아직도 Dockefile.pdf_김성호
Kit-Works Team Study_아직도 Dockefile.pdf_김성호Kit-Works Team Study_아직도 Dockefile.pdf_김성호
Kit-Works Team Study_아직도 Dockefile.pdf_김성호
Wonjun Hwang
 
Enterprise Integration Is Dead! Long Live AI-Driven Integration with Apache C...
Enterprise Integration Is Dead! Long Live AI-Driven Integration with Apache C...Enterprise Integration Is Dead! Long Live AI-Driven Integration with Apache C...
Enterprise Integration Is Dead! Long Live AI-Driven Integration with Apache C...
Markus Eisele
 
IT484 Cyber Forensics_Information Technology
IT484 Cyber Forensics_Information TechnologyIT484 Cyber Forensics_Information Technology
IT484 Cyber Forensics_Information Technology
SHEHABALYAMANI
 
Reimagine How You and Your Team Work with Microsoft 365 Copilot.pptx
Reimagine How You and Your Team Work with Microsoft 365 Copilot.pptxReimagine How You and Your Team Work with Microsoft 365 Copilot.pptx
Reimagine How You and Your Team Work with Microsoft 365 Copilot.pptx
John Moore
 
The Changing Compliance Landscape in 2025.pdf
The Changing Compliance Landscape in 2025.pdfThe Changing Compliance Landscape in 2025.pdf
The Changing Compliance Landscape in 2025.pdf
Precisely
 
Webinar - Top 5 Backup Mistakes MSPs and Businesses Make .pptx
Webinar - Top 5 Backup Mistakes MSPs and Businesses Make   .pptxWebinar - Top 5 Backup Mistakes MSPs and Businesses Make   .pptx
Webinar - Top 5 Backup Mistakes MSPs and Businesses Make .pptx
MSP360
 
Canadian book publishing: Insights from the latest salary survey - Tech Forum...
Canadian book publishing: Insights from the latest salary survey - Tech Forum...Canadian book publishing: Insights from the latest salary survey - Tech Forum...
Canadian book publishing: Insights from the latest salary survey - Tech Forum...
BookNet Canada
 
GDG Cloud Southlake #42: Suresh Mathew: Autonomous Resource Optimization: How...
GDG Cloud Southlake #42: Suresh Mathew: Autonomous Resource Optimization: How...GDG Cloud Southlake #42: Suresh Mathew: Autonomous Resource Optimization: How...
GDG Cloud Southlake #42: Suresh Mathew: Autonomous Resource Optimization: How...
James Anderson
 
Jignesh Shah - The Innovator and Czar of Exchanges
Jignesh Shah - The Innovator and Czar of ExchangesJignesh Shah - The Innovator and Czar of Exchanges
Jignesh Shah - The Innovator and Czar of Exchanges
Jignesh Shah Innovator
 
Financial Services Technology Summit 2025
Financial Services Technology Summit 2025Financial Services Technology Summit 2025
Financial Services Technology Summit 2025
Ray Bugg
 
Zilliz Cloud Monthly Technical Review: May 2025
Zilliz Cloud Monthly Technical Review: May 2025Zilliz Cloud Monthly Technical Review: May 2025
Zilliz Cloud Monthly Technical Review: May 2025
Zilliz
 
Q1 2025 Dropbox Earnings and Investor Presentation
Q1 2025 Dropbox Earnings and Investor PresentationQ1 2025 Dropbox Earnings and Investor Presentation
Q1 2025 Dropbox Earnings and Investor Presentation
Dropbox
 
The Future of Cisco Cloud Security: Innovations and AI Integration
The Future of Cisco Cloud Security: Innovations and AI IntegrationThe Future of Cisco Cloud Security: Innovations and AI Integration
The Future of Cisco Cloud Security: Innovations and AI Integration
Re-solution Data Ltd
 
AI Agents at Work: UiPath, Maestro & the Future of Documents
AI Agents at Work: UiPath, Maestro & the Future of DocumentsAI Agents at Work: UiPath, Maestro & the Future of Documents
AI Agents at Work: UiPath, Maestro & the Future of Documents
UiPathCommunity
 
Integrating FME with Python: Tips, Demos, and Best Practices for Powerful Aut...
Integrating FME with Python: Tips, Demos, and Best Practices for Powerful Aut...Integrating FME with Python: Tips, Demos, and Best Practices for Powerful Aut...
Integrating FME with Python: Tips, Demos, and Best Practices for Powerful Aut...
Safe Software
 
Does Pornify Allow NSFW? Everything You Should Know
Does Pornify Allow NSFW? Everything You Should KnowDoes Pornify Allow NSFW? Everything You Should Know
Does Pornify Allow NSFW? Everything You Should Know
Pornify CC
 
The No-Code Way to Build a Marketing Team with One AI Agent (Download the n8n...
The No-Code Way to Build a Marketing Team with One AI Agent (Download the n8n...The No-Code Way to Build a Marketing Team with One AI Agent (Download the n8n...
The No-Code Way to Build a Marketing Team with One AI Agent (Download the n8n...
SOFTTECHHUB
 
Cybersecurity Threat Vectors and Mitigation
Cybersecurity Threat Vectors and MitigationCybersecurity Threat Vectors and Mitigation
Cybersecurity Threat Vectors and Mitigation
VICTOR MAESTRE RAMIREZ
 
Ad

Mysql

  • 1. What is MySQL? History Facts SQL Databases Alternatives Benefits Drawbacks Setting Up Database Driven Websites How It Works PHP and MySQL Specific SQL Tools A Database Driven SBU ‘Course Guidance’ Website – EXAMPLE OF PROJECT Flowchart Useful Sites Content of Presentation MySQL
  • 2. What is MySQL? MSQL / MySQL Databases The world's most widely used open source database application. MySQL is a relational database management system. World Class SQL Server PHP A server-side, cross-platform, HTML embedded scripting language. Why MySQL and not another database system that supports SQL? MySQL is: Available at little cost ….. or Free Well-supported and Fast MySQL
  • 3. History In 1996 T.c.X. DataKonsultAB , a consulting firm in Sweden developed MySQL. Created Alternative database from the general idea of mSQL. MySQL
  • 4. Facts MySQL is the largest growing relational database out on the market. MySQL mainly runs on UNIX-based environments MySQL acts as a DBMS MySQL is one of the most used open source databases in the world. Can use Enhanced MySQL Capacity to handle 50,000,000+ records. Very fast command execution, perhaps the fastest to be found on the market. Easy and efficient user privilege system. MySQL
  • 6. Server Side • Administration • Java • MySQL • PHP • Perl • PostgreSQL • Python • Roxen • Wireless • XML • Zope Client Side • DHTML • Flash • Graphics • JavaScript • Style Sheets • WML MySQL Alternatives
  • 7. MySQL and PostGreSQL Compared MySQL – Ease of use / long-term stability PostGre - Funtionality Postgres has an arcane limit of 8k of data per row Postgres - its &quot;serial&quot; data type (the equivalent of MySQL's auto_increment) creates a &quot;sequence&quot; which does not get dropped when its parent table is dropped. MySQL is &quot;smart&quot; enough to increment its auto_increment value when you import data MySQL has no built in method for doing db size limits MySQL
  • 8. Benefits (1) Able to handle large databases that can be accessed over the Web. Flexible and secure password system to protect your data - powerful security system Fast, reliable, easy to use, and affordable! Relational database management system Stability On-line help facility - (type –help or -?,) MySQL meets the ANSI SQL92 regulations MySQL
  • 9. Benefits (2) MySQL allows users to connect to a specific database on the server and issue requests. Concurrent access This system can run on virtually on any platform – UNIX and Windows MySQL also comes with a source code MySQL is used at the enterprise level because of its security. MySQL
  • 10. Drawbacks The hard part about this is there is not a lot of documentation available MySQL has no built in method for doing db size limits MySQL requires that you either: code the data integrity into your product or you right some scripts to go through the logs and check that integrity was maintained MySQL
  • 11. Setting Up Database Driven Websites Setup the MySQL database server Setup the Apache web server Setup the PHP 3.0 Hypertext Preprocessor for server-side-scripting Create a simple web enabled database MySQL
  • 12. How It Works MySQL is based on a client/server model MySQL BLACK BOX CLIENT PROGRAM
  • 13. PHP and MySQL the best tools available for the rapid development of database driven web applications, &quot;Open Source&quot; and available at no cost, happen to be particularly easy to learn and use, and yet are quite robust and scalable, are excellent choices for anyone seeking a powerful, affordable, easy and efficient web development environment. MySQL
  • 14. Specific SQL Tools DBTools Manager DBUI exportSQL ForwardSQL Intelligent Converters Software KMySQLAdmin Mac SQL MyAccess MySQL Data Manager MySQL WebClient MySQL Admin MySQL
  • 15. Database Support mySQL - PHP and MySQL work very well together, in addition to the speed and features of each individual tool. PHP is open-source, and offers excellent connectivity to most of today's common databases including Oracle, Sybase, MySQL, ODBC (and others). PHP also offers integration with various external libraries which enable the developer to do anything from generating PDF documents to parsing XML.
  • 16. MySQL Example Connect to MySQL. Send a query. Print a table heading. Print table rows until end of the table has been reached.
  • 17. MySQL Example <?php $conn  =  mysql_connect ( $host ,  $user , $password ); mysql_select_db ( $dbname ); $res  =  mysql_query ( &quot;SELECT * FROM users&quot; ,  $conn ); $header_printed  =  false ; print  &quot;<TABLE>\n&quot; ; do { $data  =  mysql_fetch_array ( $res , MYSQL_ASSOC );      // Retrieve the next row of data.      if ( ! is_array ( $data ) ) {          break;      }     
  • 18. MySQL Example ( continue ) if ( ! $header_printed ) {         print  &quot; <TR>&quot; ;          reset ( $data );         while (list( $name ,  $value ) =  each ( $data )) {             print  &quot;  <TH>$name</TH> \n &quot;          }         print  &quot; </TR>\n&quot; ;          $header_printed  =  true ;     }     print  &quot; <TR>\n&quot; ;     print  &quot;  <TD>&quot; ;      print  implode ( &quot;</TD>\n  <TD>&quot; ,  $data );     print  &quot; </TR>\n&quot; ; } while ( $data ); print  &quot;</TABLE>\n&quot; ; ?>
  翻译: