407415c846380b61d81b314a4edb7175c267dc3b
MySQL-Connection-String.md
| ... | ... | @@ -0,0 +1,15 @@ |
| 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=user;Pwd=pass;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. |
|
| ... | ... | \ No newline at end of file |