How to create DSN for MySQL
To connect a MySQL database to Bold Reports® Enterprise Edition, create a DSN with the 32-bit MySQL ODBC driver.
What is an ODBC DSN?
An ODBC Data Source Name (DSN) stores the information Bold Reports® needs to connect to a database on a remote database server. A system DSN provides access to multiple users, rather than only the user who created it.
How do I install the MySQL ODBC driver?
Download and install the 32-bit Connector/ODBC driver from the Downloads section of the MySQL website.
Note: Bold Reports® is a
32-bitapplication, so it will not support64-bit ODBCconnector.
How do I create the DSN?
After you install the MySQL ODBC driver, create a DSN for the MySQL database in the 32-bit ODBC Data Source Administration tool that Bold Reports® uses.
Open ODBC Data Source Administration Tool
-
Open
Control Paneland selectSystem and Security.
-
Select
Administrative Toolsfrom the list of options.
-
Select
ODBC Data Sources (32-bit)from the list of options.
Create DSN with MySQL ODBC Driver
-
In the
ODBC Datasource Administration (32-bit)tool, navigate toSystem DSNand clickAddto add a new DSN.
-
Select the MySQL ODBC Driver from the list of drivers and click
Finish.
-
The
MySQL Connector/ODBC Configurationtool opens. Fill in the requested details:
- Data Source Name: Name of the DSN that you use to connect to the MySQL database from Bold Reports® On-Premises Edition.
- Description: Description of the DSN (Optional).
- TCP/IP Server: Server that holds the MySQL database.
- Port: Port number provided for the MySQL database.
- User: Username used to connect to MySQL.
- Password: Password of the corresponding user.
-
The
ODBC Data Source Administration (32-bit)tool lists the created DSN.
Frequently asked questions
Can I use the 64-bit MySQL ODBC connector?
No. Bold Reports® is a 32-bit application, so it does not support the 64-bit ODBC connector. Install the 32-bit Connector/ODBC driver.
Why create a system DSN instead of a user DSN?
A system DSN provides access to multiple users, rather than only the user who created it.