The MySQL ODBC connector is required only if you plan to create or edit Crystal Report templates and upload them to the FortiNAC server.
- Use a browser to go to the MySQL web site at www.mysql.com.
- Go to the Downloads section.
- Select or search for Connectors.
- Download the appropriate Connector-ODBC for your operating system.
- Download or display the Connector-ODBC installation instructions.
- Follow the installation instructions and install the connector.
Before configuring the ODBC Data Source, you must determine who should have access to this Data Source for reports.
- To provide access for only the current logged in user, create the data source using the User DSN tab.
- To provide access to all users connecting through this computer, create the data source using the System DSN tab.
- To provide access to any user on any computer that has the MySQL Connector-ODBC installed, use the File DNS tab and save the Data Source to a network or shared drive.
The instructions below describe configuring the Data Source for the current logged in user. Options for System DSN and File DSN are similar, use the Help for additional instructions.
- From your Windows Desktop select Start > Run.
- In the Run window type odbcad32 and click OK. This logs you into the Microsoft ODBC Administrator.
- Make sure you are on the User DSN tab and click Add to create a new ODBC data source. The Create New Data Source window displays.
Click Finish. The ODBC Data Source Configuration window displays. Use this window to configure the connection to your FortiNAC appliance and its database. The database is on the FortiNAC Server or Control Server.
If you have more than one FortiNAC Server or Control Server, you must configure a separate connection for each one.
- In the Data Source Name field type the name of your FortiNAC Server or Control Server. This is a user defined name and is not used to connect to the database.
- In the Description field enter a description of the FortiNAC Server or Control Server.
- In the Server field enter either the IP address or the DNS name of the FortiNAC Server or Control Server.
- In the User field enter the user name you created to access the MySQL database on your FortiNAC Server.
- In the Password field enter the password you created to access your MySQL database.
- Click the Test button to test the connection and populate the Database field with available databases on the selected server.
- In the Database field, select bsc as the database and click OK.
- You are returned to the ODBC Data Source Administrator window and your new data source is displayed. Click OK to save.