SlideShare a Scribd company logo
3
Most read
4
Most read
9
Most read
EXPORTING AND IMPORTING DATA IN MYSQL
OVERVIEWDifferent ways if exporting and importing Exporting database in mysqlImporting database in mysql
Different ways of exporting and importing dataImport and export data graphically via phpMyAdminUse an SSH tunel for mysql and use a third party toolUse mysql command line
Import and export data graphically via phpMyAdminSteps to export a database 1.Login to phpMyAdmin 2.Select the database 3.Select the export tab 4.Click select all so that tables in your database are selected
5.Under export tab, select sql6.Select the structure7.Select data8.Select save file as and choose preferred compression format9.Click on GOMysql data will be downloaded to your default browser’s destination.
 Steps to import a database from phpMyAdminbefore the data can be imported, the database must be created and user privileges must be assigned to it.Login to your cpanel with your username and passwordClick on mysql databases
create your new database by entering the nameClick on “add database” Enter the username and password Click on “add user” Add  new user to the database by selecting user and databaseClick on “add user to database”Click on “phpMyAdmin”
1.Login to phpMyAdmin2.Select on import menu3.Locate sql file on your computer4.Click on GOThis method has limitations especially when we have to download very large files, this method doesn’t work well.
EXPORTING DATABASE THROUGH COMMAND LINEUse mysqldump which is a tool to export and import databaseIt is used to backup the database or move the databases from one server to the other server.To export your data as a backup use# mysqldump -u username -ppassword  database_name>FILE1.sql
Replace the username, password and database name with your username, password and database details.FILE1 will contain the backup file, download the file to your computer.
IMPORTING DATABASE THROUGH COMMAND LINEWe can restore the data from backup fileOrImport it from another MYSQL server.
Upload the file FILE1.sql to the server and run the command#mysql -u username -ppassword  database_name<FILE1.sql Replace the username, password and database name with your username, password and database details.
OTHER WAYS OF EXPORTING AND IMPORTING DATAData can be imported from a XML source and can be retrieved from MYSQL in XML format.Import and export delimited data from ms excel or ms access.
Visit more self help tutorialsPick a tutorial of your choice and browse through it at your own pace.The tutorials section is free, self-guiding and will not involve any additional support.Visit us at www.dataminingtools.net

More Related Content

What's hot (15)

PPT
Project Presentation
ShariffAyesha
 
PPT
Apache Web Server Setup 1
Information Technology
 
PPT
Powerpoint Web Admin 2
webhostingguy
 
PPTX
Message enricher in mule
Sashidhar Rao GDS
 
DOCX
Freeingwebhost
Mahkota Raja
 
PPTX
Mule new jdbc component
Anirban Sen Chowdhary
 
PDF
Experiment no 1
Ankit Dubey
 
PDF
RecoveryFix for Exchange Server
Albern Knight
 
DOCX
Codd rules
Jay Patel
 
PDF
Install iRedMail on Red Hat Enterprise Linux, CentOS
InfoExcavator
 
PPTX
Mule esb :Data Weave
AnilKumar Etagowni
 
PDF
Database Architecture and Basic Concepts
Tony Wong
 
PPTX
Image upload in php MySql
Ishaq Shinwari
 
DOCX
Mule with jdbc(my sql)
charan teja R
 
PDF
Technical SEO: .htaccess & 301 Redirects
Rob Bertholf
 
Project Presentation
ShariffAyesha
 
Apache Web Server Setup 1
Information Technology
 
Powerpoint Web Admin 2
webhostingguy
 
Message enricher in mule
Sashidhar Rao GDS
 
Freeingwebhost
Mahkota Raja
 
Mule new jdbc component
Anirban Sen Chowdhary
 
Experiment no 1
Ankit Dubey
 
RecoveryFix for Exchange Server
Albern Knight
 
Codd rules
Jay Patel
 
Install iRedMail on Red Hat Enterprise Linux, CentOS
InfoExcavator
 
Mule esb :Data Weave
AnilKumar Etagowni
 
Database Architecture and Basic Concepts
Tony Wong
 
Image upload in php MySql
Ishaq Shinwari
 
Mule with jdbc(my sql)
charan teja R
 
Technical SEO: .htaccess & 301 Redirects
Rob Bertholf
 

Viewers also liked (20)

PPT
Introduction to FPDF
Jeremy Curcio
 
PPTX
Pdf's in PHP
Gert Poppe
 
PPT
PHP - Introduction to PHP Fundamentals
Vibrant Technologies & Computers
 
PPT
Reporting using FPDF
Mudasir Syed
 
PPTX
File Uploading in PHP
Idrees Hussain
 
PPTX
Uploading a file with php
Muhamad Al Imran
 
PPT
php file uploading
Purushottam Kumar
 
PPTX
Music Downloading Website (HTML,CSS,PHP Presentation)
Anil Kumar
 
PPT
The FPDF Library
Dave Ross
 
PPTX
MySQL Database with phpMyAdmin
Karwan Mustafa Kareem
 
PPT
HistoriografíA Latina LatíN Ii
lara
 
PPTX
Graph Plots in Matlab
DataminingTools Inc
 
PDF
Huidige status van de testtaal TTCN-3
Erik Altena
 
PPTX
Matlab Importing Data
DataminingTools Inc
 
PPTX
Data-Applied: Technology Insights
DataminingTools Inc
 
PPTX
Simulation
DataminingTools Inc
 
PPTX
Introduction To Programming in Matlab
DataminingTools Inc
 
PPTX
Portavocía en redes sociales
Muévete en bici por Madrid
 
PPTX
MS Sql Server: Reporting introduction
DataminingTools Inc
 
PPTX
Mysql:Operators
DataminingTools Inc
 
Introduction to FPDF
Jeremy Curcio
 
Pdf's in PHP
Gert Poppe
 
PHP - Introduction to PHP Fundamentals
Vibrant Technologies & Computers
 
Reporting using FPDF
Mudasir Syed
 
File Uploading in PHP
Idrees Hussain
 
Uploading a file with php
Muhamad Al Imran
 
php file uploading
Purushottam Kumar
 
Music Downloading Website (HTML,CSS,PHP Presentation)
Anil Kumar
 
The FPDF Library
Dave Ross
 
MySQL Database with phpMyAdmin
Karwan Mustafa Kareem
 
HistoriografíA Latina LatíN Ii
lara
 
Graph Plots in Matlab
DataminingTools Inc
 
Huidige status van de testtaal TTCN-3
Erik Altena
 
Matlab Importing Data
DataminingTools Inc
 
Data-Applied: Technology Insights
DataminingTools Inc
 
Introduction To Programming in Matlab
DataminingTools Inc
 
Portavocía en redes sociales
Muévete en bici por Madrid
 
MS Sql Server: Reporting introduction
DataminingTools Inc
 
Mysql:Operators
DataminingTools Inc
 
Ad

Similar to MySql:Exporting And Importing Data In Mysql (20)

PPTX
Phpmyadmin administer mysql
Mohd yasin Karim
 
DOCX
iLAB OVERVIEWScenario and SummarySuccessful database recovery re.docx
rochellscroop
 
DOCX
All types of backups and restore
Vasudeva Rao
 
ODP
Database Connection With Mysql
Harit Kothari
 
PDF
Db import&export
sheetal sharma
 
PDF
Db import&export
sheetal sharma
 
PPT
My sql with querys
NIRMAL FELIX
 
PPT
Introduction to MySQL - Part 2
webhostingguy
 
PPT
MySQL
Gouthaman V
 
ODP
Migration to Drupal
Will Hall
 
PPTX
Web Application Development using PHP Chapter 6
Mohd Harris Ahmad Jaal
 
PPT
MYSQL
Ankush Jain
 
PPT
Mysql
Rathan Raj
 
PDF
MySQL Backup and Security Best Practices
Lenz Grimmer
 
DOCX
Scanned by CamScannerModule 03 Lab WorksheetWeb Developmen.docx
anhlodge
 
PPTX
CHAPTER six DataBase Driven Websites.pptx
KelemAlebachew
 
ODP
My sql Syntax
Reka
 
Phpmyadmin administer mysql
Mohd yasin Karim
 
iLAB OVERVIEWScenario and SummarySuccessful database recovery re.docx
rochellscroop
 
All types of backups and restore
Vasudeva Rao
 
Database Connection With Mysql
Harit Kothari
 
Db import&export
sheetal sharma
 
Db import&export
sheetal sharma
 
My sql with querys
NIRMAL FELIX
 
Introduction to MySQL - Part 2
webhostingguy
 
Migration to Drupal
Will Hall
 
Web Application Development using PHP Chapter 6
Mohd Harris Ahmad Jaal
 
Mysql
Rathan Raj
 
MySQL Backup and Security Best Practices
Lenz Grimmer
 
Scanned by CamScannerModule 03 Lab WorksheetWeb Developmen.docx
anhlodge
 
CHAPTER six DataBase Driven Websites.pptx
KelemAlebachew
 
My sql Syntax
Reka
 
Ad

More from DataminingTools Inc (20)

PPTX
Terminology Machine Learning
DataminingTools Inc
 
PPTX
Techniques Machine Learning
DataminingTools Inc
 
PPTX
Machine learning Introduction
DataminingTools Inc
 
PPTX
Areas of machine leanring
DataminingTools Inc
 
PPTX
AI: Planning and AI
DataminingTools Inc
 
PPTX
AI: Logic in AI 2
DataminingTools Inc
 
PPTX
AI: Logic in AI
DataminingTools Inc
 
PPTX
AI: Learning in AI 2
DataminingTools Inc
 
PPTX
AI: Learning in AI
DataminingTools Inc
 
PPTX
AI: Introduction to artificial intelligence
DataminingTools Inc
 
PPTX
AI: Belief Networks
DataminingTools Inc
 
PPTX
AI: AI & Searching
DataminingTools Inc
 
PPTX
AI: AI & Problem Solving
DataminingTools Inc
 
PPTX
Data Mining: Text and web mining
DataminingTools Inc
 
PPTX
Data Mining: Outlier analysis
DataminingTools Inc
 
PPTX
Data Mining: Mining stream time series and sequence data
DataminingTools Inc
 
PPTX
Data Mining: Mining ,associations, and correlations
DataminingTools Inc
 
PPTX
Data Mining: Graph mining and social network analysis
DataminingTools Inc
 
PPTX
Data warehouse and olap technology
DataminingTools Inc
 
PPTX
Data Mining: Data processing
DataminingTools Inc
 
Terminology Machine Learning
DataminingTools Inc
 
Techniques Machine Learning
DataminingTools Inc
 
Machine learning Introduction
DataminingTools Inc
 
Areas of machine leanring
DataminingTools Inc
 
AI: Planning and AI
DataminingTools Inc
 
AI: Logic in AI 2
DataminingTools Inc
 
AI: Logic in AI
DataminingTools Inc
 
AI: Learning in AI 2
DataminingTools Inc
 
AI: Learning in AI
DataminingTools Inc
 
AI: Introduction to artificial intelligence
DataminingTools Inc
 
AI: Belief Networks
DataminingTools Inc
 
AI: AI & Searching
DataminingTools Inc
 
AI: AI & Problem Solving
DataminingTools Inc
 
Data Mining: Text and web mining
DataminingTools Inc
 
Data Mining: Outlier analysis
DataminingTools Inc
 
Data Mining: Mining stream time series and sequence data
DataminingTools Inc
 
Data Mining: Mining ,associations, and correlations
DataminingTools Inc
 
Data Mining: Graph mining and social network analysis
DataminingTools Inc
 
Data warehouse and olap technology
DataminingTools Inc
 
Data Mining: Data processing
DataminingTools Inc
 

Recently uploaded (20)

PDF
Understanding AI Optimization AIO, LLMO, and GEO
CoDigital
 
PDF
“Scaling i.MX Applications Processors’ Native Edge AI with Discrete AI Accele...
Edge AI and Vision Alliance
 
PDF
“A Re-imagination of Embedded Vision System Design,” a Presentation from Imag...
Edge AI and Vision Alliance
 
PDF
ICONIQ State of AI Report 2025 - The Builder's Playbook
Razin Mustafiz
 
PPTX
Enabling the Digital Artisan – keynote at ICOCI 2025
Alan Dix
 
PDF
Kubernetes - Architecture & Components.pdf
geethak285
 
PPTX
MARTSIA: A Tool for Confidential Data Exchange via Public Blockchain - Pitch ...
Michele Kryston
 
PDF
Hyderabad MuleSoft In-Person Meetup (June 21, 2025) Slides
Ravi Tamada
 
PDF
Enhancing Environmental Monitoring with Real-Time Data Integration: Leveragin...
Safe Software
 
PDF
FME as an Orchestration Tool with Principles From Data Gravity
Safe Software
 
PPTX
Wondershare Filmora Crack Free Download 2025
josanj305
 
PDF
Bitkom eIDAS Summit | European Business Wallet: Use Cases, Macroeconomics, an...
Carsten Stoecker
 
PDF
GDG Cloud Southlake #44: Eyal Bukchin: Tightening the Kubernetes Feedback Loo...
James Anderson
 
PDF
Bridging CAD, IBM TRIRIGA & GIS with FME: The Portland Public Schools Case
Safe Software
 
PDF
Understanding The True Cost of DynamoDB Webinar
ScyllaDB
 
PDF
How to Comply With Saudi Arabia’s National Cybersecurity Regulations.pdf
Bluechip Advanced Technologies
 
PDF
ArcGIS Utility Network Migration - The Hunter Water Story
Safe Software
 
PPTX
CapCut Pro PC Crack Latest Version Free Free
josanj305
 
PDF
Java 25 and Beyond - A Roadmap of Innovations
Ana-Maria Mihalceanu
 
PDF
DoS Attack vs DDoS Attack_ The Silent Wars of the Internet.pdf
CyberPro Magazine
 
Understanding AI Optimization AIO, LLMO, and GEO
CoDigital
 
“Scaling i.MX Applications Processors’ Native Edge AI with Discrete AI Accele...
Edge AI and Vision Alliance
 
“A Re-imagination of Embedded Vision System Design,” a Presentation from Imag...
Edge AI and Vision Alliance
 
ICONIQ State of AI Report 2025 - The Builder's Playbook
Razin Mustafiz
 
Enabling the Digital Artisan – keynote at ICOCI 2025
Alan Dix
 
Kubernetes - Architecture & Components.pdf
geethak285
 
MARTSIA: A Tool for Confidential Data Exchange via Public Blockchain - Pitch ...
Michele Kryston
 
Hyderabad MuleSoft In-Person Meetup (June 21, 2025) Slides
Ravi Tamada
 
Enhancing Environmental Monitoring with Real-Time Data Integration: Leveragin...
Safe Software
 
FME as an Orchestration Tool with Principles From Data Gravity
Safe Software
 
Wondershare Filmora Crack Free Download 2025
josanj305
 
Bitkom eIDAS Summit | European Business Wallet: Use Cases, Macroeconomics, an...
Carsten Stoecker
 
GDG Cloud Southlake #44: Eyal Bukchin: Tightening the Kubernetes Feedback Loo...
James Anderson
 
Bridging CAD, IBM TRIRIGA & GIS with FME: The Portland Public Schools Case
Safe Software
 
Understanding The True Cost of DynamoDB Webinar
ScyllaDB
 
How to Comply With Saudi Arabia’s National Cybersecurity Regulations.pdf
Bluechip Advanced Technologies
 
ArcGIS Utility Network Migration - The Hunter Water Story
Safe Software
 
CapCut Pro PC Crack Latest Version Free Free
josanj305
 
Java 25 and Beyond - A Roadmap of Innovations
Ana-Maria Mihalceanu
 
DoS Attack vs DDoS Attack_ The Silent Wars of the Internet.pdf
CyberPro Magazine
 

MySql:Exporting And Importing Data In Mysql

  • 1. EXPORTING AND IMPORTING DATA IN MYSQL
  • 2. OVERVIEWDifferent ways if exporting and importing Exporting database in mysqlImporting database in mysql
  • 3. Different ways of exporting and importing dataImport and export data graphically via phpMyAdminUse an SSH tunel for mysql and use a third party toolUse mysql command line
  • 4. Import and export data graphically via phpMyAdminSteps to export a database 1.Login to phpMyAdmin 2.Select the database 3.Select the export tab 4.Click select all so that tables in your database are selected
  • 5. 5.Under export tab, select sql6.Select the structure7.Select data8.Select save file as and choose preferred compression format9.Click on GOMysql data will be downloaded to your default browser’s destination.
  • 6. Steps to import a database from phpMyAdminbefore the data can be imported, the database must be created and user privileges must be assigned to it.Login to your cpanel with your username and passwordClick on mysql databases
  • 7. create your new database by entering the nameClick on “add database” Enter the username and password Click on “add user” Add new user to the database by selecting user and databaseClick on “add user to database”Click on “phpMyAdmin”
  • 8. 1.Login to phpMyAdmin2.Select on import menu3.Locate sql file on your computer4.Click on GOThis method has limitations especially when we have to download very large files, this method doesn’t work well.
  • 9. EXPORTING DATABASE THROUGH COMMAND LINEUse mysqldump which is a tool to export and import databaseIt is used to backup the database or move the databases from one server to the other server.To export your data as a backup use# mysqldump -u username -ppassword database_name>FILE1.sql
  • 10. Replace the username, password and database name with your username, password and database details.FILE1 will contain the backup file, download the file to your computer.
  • 11. IMPORTING DATABASE THROUGH COMMAND LINEWe can restore the data from backup fileOrImport it from another MYSQL server.
  • 12. Upload the file FILE1.sql to the server and run the command#mysql -u username -ppassword database_name<FILE1.sql Replace the username, password and database name with your username, password and database details.
  • 13. OTHER WAYS OF EXPORTING AND IMPORTING DATAData can be imported from a XML source and can be retrieved from MYSQL in XML format.Import and export delimited data from ms excel or ms access.
  • 14. Visit more self help tutorialsPick a tutorial of your choice and browse through it at your own pace.The tutorials section is free, self-guiding and will not involve any additional support.Visit us at www.dataminingtools.net