API/CodeSamples/MySqlConnectionString.md
... ...
@@ -6,9 +6,15 @@
6 6
7 7
The MySqlConnectionString is used for setting up connections to My SQL databases. This will cause the AdHocContext.Driver object to become a MySqlDriver object. You can specify this setting for an entire user group or you can specify it per-user.
8 8
9
+##ODBC Driver
10
+
11
+In order to connect to a MySQL database, you will need to have an ODBC driver installed on the server which is hosting the Izenda application.
12
+
13
+[Download the latest ODBC Connector](https://dev.mysql.com/downloads/connector/odbc/)
14
+
9 15
##Setting Up a MySQL Connection String
10 16
11
-To set up your MySql Connection String, use the AdHocSettings property MySqlConnectionString.
17
+To set up your MySql Connection String, use the AdHocSettings property MySqlConnectionString. Make sure the version of the driver in the connection string matches the version installed on your server.
12 18
13 19
```csharp
14 20
Izenda.AdHoc.AdHocSettings.MySqlConnectionString = "Driver={MySQL ODBC 3.51 Driver};Server=localhost;Port=3307;Database=databasename;Uid=username;Pwd=password;pooling=false";