This document provides steps to import data from MySQL to Excel:
1. Install the MySQL driver and configure an ODBC data source to connect to the MySQL database.
2. In Excel, connect to the ODBC data source and select the MySQL database and table to import data from.
3. The data from the selected MySQL table will then be imported into Excel.
5. • Step 4: Click Finish. Then give the necessary
details which is shown below.
• In the name, description field give any
name.
• In Database field, select the database from
the drop down menu.
17. • In mysql create a database and table with
particular fields.
• In Excel, give the data alone(Without field
name).
• Save the excel in .csv (Comma separated)
format.
• Open Mysql
• Use database name;
18. • Give the Query to import from excel to
mysql:
• load data infile ‘Give the path of ur .csv file’
into table table_name fields terminated by ‘,’
lines terminated by ‘n’;
• Then see the data by the query: select * from
table name;