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

PPTX
Memory display devices
PPTX
ELECTROSTATIC INDUCTION AND GAUSS LAW
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
Memory display devices
ELECTROSTATIC INDUCTION AND GAUSS LAW
Introduction to FPDF
Pdf's in PHP
PHP - Introduction to PHP Fundamentals
Reporting using FPDF
File Uploading in PHP
Uploading a file with php

Viewers also liked (16)

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
Simulation
PPTX
Introduction To Programming in Matlab
PPTX
PortavocĂ­a en redes sociales
PPTX
MS Sql Server: Reporting introduction
PPTX
Mysql:Operators
PPTX
WEKA: Credibility Evaluating Whats Been Learned
PPT
Association Rules
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
Simulation
Introduction To Programming in Matlab
PortavocĂ­a en redes sociales
MS Sql Server: Reporting introduction
Mysql:Operators
WEKA: Credibility Evaluating Whats Been Learned
Association Rules
Ad

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

PPTX
Phpmyadmin administer mysql
DOCX
iLAB OVERVIEWScenario and SummarySuccessful database recovery re.docx
DOCX
All types of backups and restore
ODP
Database Connection With Mysql
PDF
Db import&export
PDF
Db import&export
PPT
My sql with querys
PPT
Introduction to MySQL - Part 2
PPT
MySQL
ODP
Migration to Drupal
PPTX
Web Application Development using PHP Chapter 6
PPT
MYSQL
PPT
Mysql
PDF
MySQL Backup and Security Best Practices
DOCX
Scanned by CamScannerModule 03 Lab WorksheetWeb Developmen.docx
PPTX
DBeaver installation guide
PPTX
CHAPTER six DataBase Driven Websites.pptx
Phpmyadmin administer mysql
iLAB OVERVIEWScenario and SummarySuccessful database recovery re.docx
All types of backups and restore
Database Connection With Mysql
Db import&export
Db import&export
My sql with querys
Introduction to MySQL - Part 2
MySQL
Migration to Drupal
Web Application Development using PHP Chapter 6
MYSQL
Mysql
MySQL Backup and Security Best Practices
Scanned by CamScannerModule 03 Lab WorksheetWeb Developmen.docx
DBeaver installation guide
CHAPTER six DataBase Driven Websites.pptx
Ad

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)

PPTX
ACSFv1EN-58255 AWS Academy Cloud Security Foundations.pptx
PPTX
Spectroscopy.pptx food analysis technology
PDF
Approach and Philosophy of On baking technology
PPTX
Digital-Transformation-Roadmap-for-Companies.pptx
PPTX
Effective Security Operations Center (SOC) A Modern, Strategic, and Threat-In...
PDF
Encapsulation theory and applications.pdf
PDF
Optimiser vos workloads AI/ML sur Amazon EC2 et AWS Graviton
PDF
Mobile App Security Testing_ A Comprehensive Guide.pdf
PPTX
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
PDF
Network Security Unit 5.pdf for BCA BBA.
PPTX
Understanding_Digital_Forensics_Presentation.pptx
PDF
Advanced methodologies resolving dimensionality complications for autism neur...
PDF
Profit Center Accounting in SAP S/4HANA, S4F28 Col11
PDF
Architecting across the Boundaries of two Complex Domains - Healthcare & Tech...
PDF
Review of recent advances in non-invasive hemoglobin estimation
PPTX
20250228 LYD VKU AI Blended-Learning.pptx
PDF
Unlocking AI with Model Context Protocol (MCP)
PDF
Spectral efficient network and resource selection model in 5G networks
PDF
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
PPTX
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx
ACSFv1EN-58255 AWS Academy Cloud Security Foundations.pptx
Spectroscopy.pptx food analysis technology
Approach and Philosophy of On baking technology
Digital-Transformation-Roadmap-for-Companies.pptx
Effective Security Operations Center (SOC) A Modern, Strategic, and Threat-In...
Encapsulation theory and applications.pdf
Optimiser vos workloads AI/ML sur Amazon EC2 et AWS Graviton
Mobile App Security Testing_ A Comprehensive Guide.pdf
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
Network Security Unit 5.pdf for BCA BBA.
Understanding_Digital_Forensics_Presentation.pptx
Advanced methodologies resolving dimensionality complications for autism neur...
Profit Center Accounting in SAP S/4HANA, S4F28 Col11
Architecting across the Boundaries of two Complex Domains - Healthcare & Tech...
Review of recent advances in non-invasive hemoglobin estimation
20250228 LYD VKU AI Blended-Learning.pptx
Unlocking AI with Model Context Protocol (MCP)
Spectral efficient network and resource selection model in 5G networks
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx

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