9977b4d336f639448d066045611eb2d8e04cd651
API/CodeSamples/MySqlConnectionString.md
| ... | ... | @@ -0,0 +1,19 @@ |
| 1 | +#MySQL Connection String |
|
| 2 | + |
|
| 3 | +[[_TOC_]] |
|
| 4 | + |
|
| 5 | +##Setting Up a MySQL Connection String |
|
| 6 | + |
|
| 7 | +To set up your MySql Connection String, use the AdHocSettings property MySqlConnectionString. |
|
| 8 | + |
|
| 9 | +```csharp |
|
| 10 | + Izenda.AdHoc.AdHocSettings.MySqlConnectionString = "Driver={MySQL ODBC 3.51 Driver};Server=localhost;Port=3307;Database=databasename;Uid=username;Pwd=password;pooling=false"; |
|
| 11 | +``` |
|
| 12 | + |
|
| 13 | +You will have to replace your port number (if different), databasename, |
|
| 14 | +username, and password. Additionally, pooling=false may not be required |
|
| 15 | +in your case. |
|
| 16 | + |
|
| 17 | +##Testing Your MySQL Connection String |
|
| 18 | + |
|
| 19 | +To test whether your MySQL connection string is working, there are some diagnostics on the Settings.aspx page that give a PASS/FAIL on various connectivity and permissions-based metrics. |
|
| ... | ... | \ No newline at end of file |
FAQ/Database/MySQL-Connection-String.md
| ... | ... | @@ -1,19 +0,0 @@ |
| 1 | -#MySQL Connection String |
|
| 2 | - |
|
| 3 | -[[_TOC_]] |
|
| 4 | - |
|
| 5 | -##Setting Up a MySQL Connection String |
|
| 6 | - |
|
| 7 | -To set up your MySql Connection String, use the AdHocSettings property MySqlConnectionString. |
|
| 8 | - |
|
| 9 | -```csharp |
|
| 10 | - Izenda.AdHoc.AdHocSettings.MySqlConnectionString = "Driver={MySQL ODBC 3.51 Driver};Server=localhost;Port=3307;Database=databasename;Uid=username;Pwd=password;pooling=false"; |
|
| 11 | -``` |
|
| 12 | - |
|
| 13 | -You will have to replace your port number (if different), databasename, |
|
| 14 | -username, and password. Additionally, pooling=false may not be required |
|
| 15 | -in your case. |
|
| 16 | - |
|
| 17 | -##Testing Your MySQL Connection String |
|
| 18 | - |
|
| 19 | -To test whether your MySQL connection string is working, there are some diagnostics on the Settings.aspx page that give a PASS/FAIL on various connectivity and permissions-based metrics. |
|
| ... | ... | \ No newline at end of file |