1. Download the MySQL ODBC Connector Driver and Install it.
http://dev.mysql.com/downloads/connector/odbc
2. Go to Control Panel > Administrative Tools > Data Sources (ODBC)
3. Select User DSN. Click Add
4. Select the MySQL ODBC Driver. Click Finish
5. In the 'MySQL Connector/ODBC Data Source Configuration' dialog box, enter the following details.
• Data Source Name
• Description
• TCP/IP Server
• Port (Default 3306)
• User
• Password
• Database
6. Click Test. If connection is OK, "Connection Successful" Dialog Box Appears. Click OK
This creates a User MySQL ODBC DSN.
Now we have to configure it in Microsoft Excel.
1. Open Microsoft Excel.
2. click Data Tab.
3. Click Connections
4. In the Workbook Connections Wizard, Click Add
5. Click 'Browse For More'.
6. In the dialog box, Click New Sources.
7. In the 'Data Connection Wizard', Select ODBC DSN and Click Next
8. Select the DSN Created Earlier.
9. Click Next and then Finish.
10. Now in the 'Data' Tab of Excel, Click Existing Connection.
11. Open the Database that we added.
12. In the import Wizard, Click OK.
The data from the DB will be imported in the Excel Sheet.
http://dev.mysql.com/downloads/connector/odbc
2. Go to Control Panel > Administrative Tools > Data Sources (ODBC)
3. Select User DSN. Click Add
4. Select the MySQL ODBC Driver. Click Finish
5. In the 'MySQL Connector/ODBC Data Source Configuration' dialog box, enter the following details.
• Data Source Name
• Description
• TCP/IP Server
• Port (Default 3306)
• User
• Password
• Database
6. Click Test. If connection is OK, "Connection Successful" Dialog Box Appears. Click OK
This creates a User MySQL ODBC DSN.
Now we have to configure it in Microsoft Excel.
1. Open Microsoft Excel.
2. click Data Tab.
3. Click Connections
4. In the Workbook Connections Wizard, Click Add
5. Click 'Browse For More'.
6. In the dialog box, Click New Sources.
7. In the 'Data Connection Wizard', Select ODBC DSN and Click Next
8. Select the DSN Created Earlier.
9. Click Next and then Finish.
10. Now in the 'Data' Tab of Excel, Click Existing Connection.
11. Open the Database that we added.
12. In the import Wizard, Click OK.
The data from the DB will be imported in the Excel Sheet.