Home
»
Software Guides
»
Database Software
»
MySQL
»
Create an ODBC connection to a MySQL database
Browse Guides & How-to's
Software Guides
Office Suites
OpenOffice.org
MS Office 2010
MS Office 2007
LibreOffice
Database Software
MySQL
Mobile & Cellphone
BlackBerry Guides
Device Guides
E-book Readers
Sony Reader
Development
PHP, MySQL & Apache
Create an ODBC connection to a MySQL database
Published:
Andreas Wiebe
, 16 January 2011 - 04:42
Create an ODBC connection to a MySQL database
Download and install the MySQL ODBC driver
You can obtain the MySQL ODBC driver here:
http://dev.mysql.com/downloads/connector/odbc/5.1.html
Once downloaded, install by double-clicking the file and following the prompts
See here for a step-by-step guide to installing the driver
Create an ODBC connection to the MySQL database
Open the control panel
Windows XP: Click Start-->Settings-->Control Panel
Windows Vista & Windows 7: Click Start-->Control Panel
Open "Administrative Tools"
Double-click on "Data Sources (ODBC)"
Click Add
Select "MySQL ODBC x.x driver" (where x.x is the version number) and click Finish
In the MySQL Connector/ODBC Data Source Configuration Dialog
Enter the data source name you’d like to use and a description
Enter the MySQL server address, if it’s on the same machine you’re running Excel on you can use "localhost"
Enter the Username for the MySQL Database
Enter the password for the MySQL Database
Click test, if connection is successful continue on, otherwise double-check your MySQL server address, username, and password
You can select a database or leave it blank at this time
Click Ok to close the dialog
Related Articles
Create an ODBC connection to a MySQL database
Installing the MySQL ODBC driver in Windows