SlideShare a Scribd company logo
11-Sep-2014 
Thursday 
Connectivity 
With MySQL
Points of Discussion 
• Introduction 
• What is MySQL 
• Create Database 
• Basic MySQL Operations 
• Basic MySQL Functions 
• Benefits 
• Drawbacks 
• Conclusion 
2
Introduction 
3 
• A database is an application that manages 
data and allows fast storage and retrieval of 
that data. 
A database is a collection of information that 
is organized so that it can easily be 
accessed, managed, and updated.
Example of Database 
• Sql Server 
• Oracle 
• FoxPro 
• MongoDB 
• Microsoft Access 
4 
MySQL
What is 
MySql 
MySQL
MySql 
6 
• MySQL is a database. 
• The data in MySQL is stored in database 
objects called tables. 
• A table is a collections of related data 
entries and it consists of columns and rows. 
• Databases are useful when storing 
information categorically.
Continue 
• Download MySQL Database 
• If you don't have a PHP server with a MySQL Database, 
you can download MySQL for free here: 
• 
http://www.mysql.com/downloads/index.html 
7
Continue 
• MySQL works on many operating systems 
and with many languages including PHP, 
PERL, C, C++, JAVA etc. 
• MySQL is very friendly to PHP, the most 
appreciated language for web development. 
8
MySQL 
How to Create 
Database?
How to Create Database 
10
Give Database Name 
11
Give Table Name & No of Columns 
12
Field Name 
13
Table Created 
14
Structure of Table 
15
Basic 
MySQL 
Operation 
MySQL
Basic Operations 
• Create table 
• Insert records 
• Retrieve records 
• Update records 
• Delete records 
• Modify table 
• Join table 
• Drop table 
17
MySQL 
Basic MySQL 
Functions
Basic MySQL Functions 
• mysql_connect() 
• mysql_select_db() 
• mysql_query() 
• mysql_featch_row() 
• mysql_featch_array() 
• mysql_affected_row() 
• Mysql_close() 
19
Mysql_connect() 
• Purpose:- 
»This Function is used to connect 
your application with database. 
• Syntax:- 
20 
Bool 
mysql_connect(“servarname”,”userna 
me”,”password”);
Mysql_select_db() 
• Purpose:- 
»This Function is used to select 
particular database from phpmyadmin 
database. 
• Syntax:- 
21 
bool mysql_select_db(“Databse Name”);
Mysql_query() 
• Purpose:- 
» Sends the specified SQL query to 
the database specified by the 
resource identifier. The retrieved 
data are returned by the function as a 
MySQL result set. 
• Syntax:- 
22 
Record set mysql_query(“sqlquery”);
Benefits 
MySQL
Benefits 
• Open Source 
• Easy, Fast and High Performing 
• Cross Platform Supports 
• Occupies very less disk space. 
24
Drawbacks 
MySQL
Drawbacks 
• Developers accuse MySQL for not having a 
good developing and debugging tool compared 
to paid databases. 
• MySQL cannot work efficiently with large 
databases. 
26
Conclusion 
 MySql is an Open Source database Management 
System and Support Major features of the 
RDBMS. 
There is no need of Purchase any other thing, we 
have to just install and done. 
27
Demo 
MySQL
Reference 
www.mysql.com 
 www.slideshare.com 
www. Wikipedia.com 
29
MySQL 
That’s All for 
PHP With 
MySQL 
Thank You…!!!

More Related Content

What's hot (20)

PPS
Linux17 MySQL_installation
Jainul Musani
 
PDF
MySQL Storage Engines
Karthik .P.R
 
PPTX
NOSQL vs SQL
Mohammed Fazuluddin
 
PDF
Getting Started with SQLite
Mindfire Solutions
 
PPTX
Spring Data Cassandra
niallmilton
 
PPTX
Sq lite presentation
Prof. Erwin Globio
 
PDF
What can we learn from NoSQL technologies?
Ivan Zoratti
 
PPTX
SQLite - Overview
Emanuele Bartolesi
 
PPTX
Connecting to my sql using PHP
Nisa Soomro
 
PPT
JCR Content Management
elliando dias
 
PPTX
Couchbase
Arpit Aggarwal
 
PDF
ITB2016 - NoSQL with mongodb and ColdFusion (CFML)
Ortus Solutions, Corp
 
ODP
Nosql
mentallog
 
PDF
Analysis of mysql and postgresql
Asif Anik
 
PPTX
SQL vs. NoSQL. It's always a hard choice.
Denis Reznik
 
PPTX
SQLite: Light, Open Source Relational Database Management System
Tanner Jessel
 
PPTX
Relational Database and mysql insight
mentallog
 
PPTX
What is NoSQL and CAP Theorem
Rahul Jain
 
Linux17 MySQL_installation
Jainul Musani
 
MySQL Storage Engines
Karthik .P.R
 
NOSQL vs SQL
Mohammed Fazuluddin
 
Getting Started with SQLite
Mindfire Solutions
 
Spring Data Cassandra
niallmilton
 
Sq lite presentation
Prof. Erwin Globio
 
What can we learn from NoSQL technologies?
Ivan Zoratti
 
SQLite - Overview
Emanuele Bartolesi
 
Connecting to my sql using PHP
Nisa Soomro
 
JCR Content Management
elliando dias
 
Couchbase
Arpit Aggarwal
 
ITB2016 - NoSQL with mongodb and ColdFusion (CFML)
Ortus Solutions, Corp
 
Nosql
mentallog
 
Analysis of mysql and postgresql
Asif Anik
 
SQL vs. NoSQL. It's always a hard choice.
Denis Reznik
 
SQLite: Light, Open Source Relational Database Management System
Tanner Jessel
 
Relational Database and mysql insight
mentallog
 
What is NoSQL and CAP Theorem
Rahul Jain
 

Viewers also liked (20)

PPT
Dynamic Web Pages Ch 2 V1.0
Cathie101
 
PDF
Php, mysq lpart5(mysql)
Subhasis Nayak
 
PDF
Introduction to php database connectivity
baabtra.com - No. 1 supplier of quality freshers
 
PPT
Synapse india reviews on php and sql
saritasingh19866
 
PPT
Chapter05
Wala Youssef Ghayada
 
PPT
Manipulating strings
Nicole Ryan
 
PDF
Python lecture 10
Tanwir Zaman
 
PDF
Database connectivity in PHP
Vineet Kumar Saini
 
ODP
The PHP mysqlnd plugin talk - plugins an alternative to MySQL Proxy
Ulf Wendel
 
PDF
Python lecture 02
Tanwir Zaman
 
DOC
Overall Computer Systems 2nd Year 2009
Cathie101
 
PDF
Tt presentation.ppt
Volodymyr Vitvitskyi
 
PPTX
Introduction to php
shanmukhareddy dasi
 
PDF
Ldap introduction (eng)
Anatoliy Okhotnikov
 
PPTX
Embedding Jaspersoft into your PHP application
Mariano Luna
 
PPT
10 11-hart installing pythonsoftware
William Hart
 
PDF
Introduction to LDAP and Directory Services
Radovan Semancik
 
PPT
PHP Regular Expressions
Jussi Pohjolainen
 
PPT
The Ldap Protocol
Glen Plantz
 
Dynamic Web Pages Ch 2 V1.0
Cathie101
 
Php, mysq lpart5(mysql)
Subhasis Nayak
 
Introduction to php database connectivity
baabtra.com - No. 1 supplier of quality freshers
 
Synapse india reviews on php and sql
saritasingh19866
 
Manipulating strings
Nicole Ryan
 
Python lecture 10
Tanwir Zaman
 
Database connectivity in PHP
Vineet Kumar Saini
 
The PHP mysqlnd plugin talk - plugins an alternative to MySQL Proxy
Ulf Wendel
 
Python lecture 02
Tanwir Zaman
 
Overall Computer Systems 2nd Year 2009
Cathie101
 
Tt presentation.ppt
Volodymyr Vitvitskyi
 
Introduction to php
shanmukhareddy dasi
 
Ldap introduction (eng)
Anatoliy Okhotnikov
 
Embedding Jaspersoft into your PHP application
Mariano Luna
 
10 11-hart installing pythonsoftware
William Hart
 
Introduction to LDAP and Directory Services
Radovan Semancik
 
PHP Regular Expressions
Jussi Pohjolainen
 
The Ldap Protocol
Glen Plantz
 
Ad

Similar to Php connectivitywithmysql (20)

PPT
MySQL ppt
AtharvaSawant10
 
PPT
Mysql database
Arshikhan08
 
PPTX
MySQL.pptx
SHAQORPRO
 
PDF
Mysql tutorial 5257
Phuong Do Anh
 
PPTX
MySQL Quick Dive
Sudipta Kumar Sahoo
 
PPT
Slides
webhostingguy
 
PPTX
MySQL.pptx r56547777777777777777777777777777
manisharma0175
 
PDF
Mysql tutorial
Pankaj Sipl
 
PPT
Lecture 15 - MySQL- PHP 1.ppt
TempMail233488
 
PPT
qwe.ppt
Heru762601
 
PPTX
Master MySQL Basics in Simple Steps.pptx
Tpoint Tech Blog
 
PPS
Introduction to Mysql
Tushar Chauhan
 
PDF
Mysql
Raghu nath
 
PPTX
Usability of MySQL
KentAnderson43
 
PDF
MySQL Baics - Texas Linxufest beginners tutorial May 31st, 2019
Dave Stokes
 
PDF
Mysql tutorial
Duong Thanh
 
PDF
Learning MySQL using PHP Scripts
Roohul Amin
 
PDF
20090425mysqlslides 12593434194072-phpapp02
Vinamra Mittal
 
PPT
MYSQL - PHP Database Connectivity
V.V.Vanniaperumal College for Women
 
MySQL ppt
AtharvaSawant10
 
Mysql database
Arshikhan08
 
MySQL.pptx
SHAQORPRO
 
Mysql tutorial 5257
Phuong Do Anh
 
MySQL Quick Dive
Sudipta Kumar Sahoo
 
MySQL.pptx r56547777777777777777777777777777
manisharma0175
 
Mysql tutorial
Pankaj Sipl
 
Lecture 15 - MySQL- PHP 1.ppt
TempMail233488
 
qwe.ppt
Heru762601
 
Master MySQL Basics in Simple Steps.pptx
Tpoint Tech Blog
 
Introduction to Mysql
Tushar Chauhan
 
Mysql
Raghu nath
 
Usability of MySQL
KentAnderson43
 
MySQL Baics - Texas Linxufest beginners tutorial May 31st, 2019
Dave Stokes
 
Mysql tutorial
Duong Thanh
 
Learning MySQL using PHP Scripts
Roohul Amin
 
20090425mysqlslides 12593434194072-phpapp02
Vinamra Mittal
 
MYSQL - PHP Database Connectivity
V.V.Vanniaperumal College for Women
 
Ad

Recently uploaded (20)

PDF
Exploring the Different Types of Experimental Research
Thelma Villaflores
 
PDF
Stokey: A Jewish Village by Rachel Kolsky
History of Stoke Newington
 
PPTX
CATEGORIES OF NURSING PERSONNEL: HOSPITAL & COLLEGE
PRADEEP ABOTHU
 
PDF
Women's Health: Essential Tips for Every Stage.pdf
Iftikhar Ahmed
 
PPTX
How to Create a Customer From Website in Odoo 18.pptx
Celine George
 
PPTX
Identifying elements in the story. Arrange the events in the story
geraldineamahido2
 
PPTX
Post Dated Cheque(PDC) Management in Odoo 18
Celine George
 
PPTX
Nitrogen rule, ring rule, mc lafferty.pptx
nbisen2001
 
PPTX
HUMAN RESOURCE MANAGEMENT: RECRUITMENT, SELECTION, PLACEMENT, DEPLOYMENT, TRA...
PRADEEP ABOTHU
 
PPTX
PPT-Q1-WEEK-3-SCIENCE-ERevised Matatag Grade 3.pptx
reijhongidayawan02
 
PDF
Reconstruct, Restore, Reimagine: New Perspectives on Stoke Newington’s Histor...
History of Stoke Newington
 
PPTX
care of patient with elimination needs.pptx
Rekhanjali Gupta
 
PPTX
DIGITAL CITIZENSHIP TOPIC TLE 8 MATATAG CURRICULUM
ROBERTAUGUSTINEFRANC
 
PDF
epi editorial commitee meeting presentation
MIPLM
 
PPTX
infertility, types,causes, impact, and management
Ritu480198
 
PPTX
EDUCATIONAL MEDIA/ TEACHING AUDIO VISUAL AIDS
Sonali Gupta
 
PDF
Aprendendo Arquitetura Framework Salesforce - Dia 03
Mauricio Alexandre Silva
 
PDF
Android Programming - Basics of Mobile App, App tools and Android Basics
Kavitha P.V
 
PDF
Introduction presentation of the patentbutler tool
MIPLM
 
PPTX
DAY 1_QUARTER1 ENGLISH 5 WEEK- PRESENTATION.pptx
BanyMacalintal
 
Exploring the Different Types of Experimental Research
Thelma Villaflores
 
Stokey: A Jewish Village by Rachel Kolsky
History of Stoke Newington
 
CATEGORIES OF NURSING PERSONNEL: HOSPITAL & COLLEGE
PRADEEP ABOTHU
 
Women's Health: Essential Tips for Every Stage.pdf
Iftikhar Ahmed
 
How to Create a Customer From Website in Odoo 18.pptx
Celine George
 
Identifying elements in the story. Arrange the events in the story
geraldineamahido2
 
Post Dated Cheque(PDC) Management in Odoo 18
Celine George
 
Nitrogen rule, ring rule, mc lafferty.pptx
nbisen2001
 
HUMAN RESOURCE MANAGEMENT: RECRUITMENT, SELECTION, PLACEMENT, DEPLOYMENT, TRA...
PRADEEP ABOTHU
 
PPT-Q1-WEEK-3-SCIENCE-ERevised Matatag Grade 3.pptx
reijhongidayawan02
 
Reconstruct, Restore, Reimagine: New Perspectives on Stoke Newington’s Histor...
History of Stoke Newington
 
care of patient with elimination needs.pptx
Rekhanjali Gupta
 
DIGITAL CITIZENSHIP TOPIC TLE 8 MATATAG CURRICULUM
ROBERTAUGUSTINEFRANC
 
epi editorial commitee meeting presentation
MIPLM
 
infertility, types,causes, impact, and management
Ritu480198
 
EDUCATIONAL MEDIA/ TEACHING AUDIO VISUAL AIDS
Sonali Gupta
 
Aprendendo Arquitetura Framework Salesforce - Dia 03
Mauricio Alexandre Silva
 
Android Programming - Basics of Mobile App, App tools and Android Basics
Kavitha P.V
 
Introduction presentation of the patentbutler tool
MIPLM
 
DAY 1_QUARTER1 ENGLISH 5 WEEK- PRESENTATION.pptx
BanyMacalintal
 

Php connectivitywithmysql

  • 2. Points of Discussion • Introduction • What is MySQL • Create Database • Basic MySQL Operations • Basic MySQL Functions • Benefits • Drawbacks • Conclusion 2
  • 3. Introduction 3 • A database is an application that manages data and allows fast storage and retrieval of that data. A database is a collection of information that is organized so that it can easily be accessed, managed, and updated.
  • 4. Example of Database • Sql Server • Oracle • FoxPro • MongoDB • Microsoft Access 4 MySQL
  • 6. MySql 6 • MySQL is a database. • The data in MySQL is stored in database objects called tables. • A table is a collections of related data entries and it consists of columns and rows. • Databases are useful when storing information categorically.
  • 7. Continue • Download MySQL Database • If you don't have a PHP server with a MySQL Database, you can download MySQL for free here: • http://www.mysql.com/downloads/index.html 7
  • 8. Continue • MySQL works on many operating systems and with many languages including PHP, PERL, C, C++, JAVA etc. • MySQL is very friendly to PHP, the most appreciated language for web development. 8
  • 9. MySQL How to Create Database?
  • 10. How to Create Database 10
  • 12. Give Table Name & No of Columns 12
  • 17. Basic Operations • Create table • Insert records • Retrieve records • Update records • Delete records • Modify table • Join table • Drop table 17
  • 18. MySQL Basic MySQL Functions
  • 19. Basic MySQL Functions • mysql_connect() • mysql_select_db() • mysql_query() • mysql_featch_row() • mysql_featch_array() • mysql_affected_row() • Mysql_close() 19
  • 20. Mysql_connect() • Purpose:- »This Function is used to connect your application with database. • Syntax:- 20 Bool mysql_connect(“servarname”,”userna me”,”password”);
  • 21. Mysql_select_db() • Purpose:- »This Function is used to select particular database from phpmyadmin database. • Syntax:- 21 bool mysql_select_db(“Databse Name”);
  • 22. Mysql_query() • Purpose:- » Sends the specified SQL query to the database specified by the resource identifier. The retrieved data are returned by the function as a MySQL result set. • Syntax:- 22 Record set mysql_query(“sqlquery”);
  • 24. Benefits • Open Source • Easy, Fast and High Performing • Cross Platform Supports • Occupies very less disk space. 24
  • 26. Drawbacks • Developers accuse MySQL for not having a good developing and debugging tool compared to paid databases. • MySQL cannot work efficiently with large databases. 26
  • 27. Conclusion  MySql is an Open Source database Management System and Support Major features of the RDBMS. There is no need of Purchase any other thing, we have to just install and done. 27
  • 29. Reference www.mysql.com  www.slideshare.com www. Wikipedia.com 29
  • 30. MySQL That’s All for PHP With MySQL Thank You…!!!