SlideShare a Scribd company logo
4
Most read
9
Most read
11
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

ODP
Description of GRUB 2
PPTX
Hive presentation
PPTX
Concurrency with java
PPT
SQLITE Android
PPTX
React dom
PPTX
Mapreduce total order sorting technique
PDF
JSP Components and Directives.pdf
ODP
Ms sql-server
Description of GRUB 2
Hive presentation
Concurrency with java
SQLITE Android
React dom
Mapreduce total order sorting technique
JSP Components and Directives.pdf
Ms sql-server

What's hot (20)

PDF
Static Code Analysis
PPTX
Hadoop Architecture | HDFS Architecture | Hadoop Architecture Tutorial | HDFS...
PDF
Android resources
PPTX
Sling models by Justin Edelson
PDF
Domain Modeling
PPT
Database schema architecture.ppt
PPTX
jQuery
PPTX
Information Flow Mechanism in Data warehouse
ODP
Big Data Testing Strategies
PPTX
JSON and REST
PPTX
Create Database
DOCX
Data stage interview questions and answers|DataStage FAQS
PDF
Data mining & data warehousing (ppt)
PDF
Node.js căn bản
PPTX
Type of database models
PPTX
Hadoop installation on windows
PDF
PPTX
Reactjs
PPTX
Mainframe jcl exec and dd statements part - 3
Static Code Analysis
Hadoop Architecture | HDFS Architecture | Hadoop Architecture Tutorial | HDFS...
Android resources
Sling models by Justin Edelson
Domain Modeling
Database schema architecture.ppt
jQuery
Information Flow Mechanism in Data warehouse
Big Data Testing Strategies
JSON and REST
Create Database
Data stage interview questions and answers|DataStage FAQS
Data mining & data warehousing (ppt)
Node.js căn bản
Type of database models
Hadoop installation on windows
Reactjs
Mainframe jcl exec and dd statements part - 3
Ad

Viewers also liked (20)

PPT
Introduction to FPDF
PPTX
Pdf's in PHP
PPT
PHP - Introduction to PHP Fundamentals
PPT
Reporting using FPDF
PPTX
File Uploading in PHP
PPTX
Uploading a file with php
PPT
php file uploading
PPTX
Music Downloading Website (HTML,CSS,PHP Presentation)
PPT
The FPDF Library
PPTX
MySQL Database with phpMyAdmin
PPT
HistoriografíA Latina LatíN Ii
PPTX
Graph Plots in Matlab
PDF
Huidige status van de testtaal TTCN-3
PPTX
Matlab Importing Data
PPTX
Data-Applied: Technology Insights
PPTX
PPTX
Introduction To Programming in Matlab
PPTX
Portavocía en redes sociales
PPTX
MS Sql Server: Reporting introduction
PPTX
Mysql:Operators
Introduction to FPDF
Pdf's in PHP
PHP - Introduction to PHP Fundamentals
Reporting using FPDF
File Uploading in PHP
Uploading a file with php
php file uploading
Music Downloading Website (HTML,CSS,PHP Presentation)
The FPDF Library
MySQL Database with phpMyAdmin
HistoriografíA Latina LatíN Ii
Graph Plots in Matlab
Huidige status van de testtaal TTCN-3
Matlab Importing Data
Data-Applied: Technology Insights
Introduction To Programming in Matlab
Portavocía en redes sociales
MS Sql Server: Reporting introduction
Mysql:Operators
Ad

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

PPT
Project Presentation
PPT
Mysql
PPT
Mysql ppt
PDF
Datamigration
ODT
Mysql
PDF
SULTHAN's PHP, MySQL & wordpress
PPT
PHP - Introduction to PHP Date and Time Functions
PDF
JAM819 - Native API Deep Dive: Data Storage and Retrieval
PDF
Data load utility
PPTX
Learn PHP Lacture2
ODP
Msql
PPT
Drupal Installation & Configuration
PPT
php databse handling
PPT
3.2\9 SSIS 2008R2_Training - ControlFlow Tasks
PDF
DBMS LAB FILE1 task 1 , task 2, task3 and many more.pdf
PPTX
Web Technologies - forms and actions
PPT
An overview of snowflake
PPTX
PHP and MySQL.pptx
DOCX
All types of backups and restore
PPT
Less17 Util
Project Presentation
Mysql
Mysql ppt
Datamigration
Mysql
SULTHAN's PHP, MySQL & wordpress
PHP - Introduction to PHP Date and Time Functions
JAM819 - Native API Deep Dive: Data Storage and Retrieval
Data load utility
Learn PHP Lacture2
Msql
Drupal Installation & Configuration
php databse handling
3.2\9 SSIS 2008R2_Training - ControlFlow Tasks
DBMS LAB FILE1 task 1 , task 2, task3 and many more.pdf
Web Technologies - forms and actions
An overview of snowflake
PHP and MySQL.pptx
All types of backups and restore
Less17 Util

More from DataminingTools Inc (20)

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

Recently uploaded (20)

PDF
Omni-Path Integration Expertise Offered by Nor-Tech
PPTX
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx
PDF
Chapter 3 Spatial Domain Image Processing.pdf
PDF
How Onsite IT Support Drives Business Efficiency, Security, and Growth.pdf
PDF
Dropbox Q2 2025 Financial Results & Investor Presentation
PDF
Review of recent advances in non-invasive hemoglobin estimation
PDF
Sensors and Actuators in IoT Systems using pdf
PDF
CIFDAQ's Teaching Thursday: Moving Averages Made Simple
PDF
SAP855240_ALP - Defining the Global Template PUBLIC.pdf
PDF
KodekX | Application Modernization Development
PDF
DevOps & Developer Experience Summer BBQ
PPT
“AI and Expert System Decision Support & Business Intelligence Systems”
PPTX
MYSQL Presentation for SQL database connectivity
PPTX
CroxyProxy Instagram Access id login.pptx
PDF
GDG Cloud Iasi [PUBLIC] Florian Blaga - Unveiling the Evolution of Cybersecur...
PDF
NewMind AI Monthly Chronicles - July 2025
PDF
Advanced IT Governance
PPTX
Effective Security Operations Center (SOC) A Modern, Strategic, and Threat-In...
PDF
CIFDAQ's Market Wrap: Ethereum Leads, Bitcoin Lags, Institutions Shift
PDF
Electronic commerce courselecture one. Pdf
Omni-Path Integration Expertise Offered by Nor-Tech
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx
Chapter 3 Spatial Domain Image Processing.pdf
How Onsite IT Support Drives Business Efficiency, Security, and Growth.pdf
Dropbox Q2 2025 Financial Results & Investor Presentation
Review of recent advances in non-invasive hemoglobin estimation
Sensors and Actuators in IoT Systems using pdf
CIFDAQ's Teaching Thursday: Moving Averages Made Simple
SAP855240_ALP - Defining the Global Template PUBLIC.pdf
KodekX | Application Modernization Development
DevOps & Developer Experience Summer BBQ
“AI and Expert System Decision Support & Business Intelligence Systems”
MYSQL Presentation for SQL database connectivity
CroxyProxy Instagram Access id login.pptx
GDG Cloud Iasi [PUBLIC] Florian Blaga - Unveiling the Evolution of Cybersecur...
NewMind AI Monthly Chronicles - July 2025
Advanced IT Governance
Effective Security Operations Center (SOC) A Modern, Strategic, and Threat-In...
CIFDAQ's Market Wrap: Ethereum Leads, Bitcoin Lags, Institutions Shift
Electronic commerce courselecture one. Pdf

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