You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Oct 18, 2024. It is now read-only.
The `TAG` above will be the tagged version number of the library.
46
46
@@ -54,9 +54,9 @@ or constructor will take an interface which will get called once the action has
54
54
55
55
## Connecting to a MySQL Server
56
56
To connect to a MySQL server you first need to create the MySQL Connection object. You can do this as follows:
57
-
'''
57
+
```
58
58
Connection mysqlConnection = new Connection("<Hostname>", "<Username>", "<Password>", <Port>, "<Database>", new IConnectionInterface()
59
-
'''
59
+
```
60
60
61
61
In the above example, <database> is an optional parameter. By setting this, when the connection is established, the database name will be the default
62
62
database used. The IConnectionInterface parameter handles connection specific events, such as successfully connected or exception handlers.
@@ -97,14 +97,14 @@ you will receive a call back to the actionCompleted method.
97
97
## Execute Statement (Such as INSERT or UPDATE where no resultset is returned)
98
98
First of all you need to create a statement object from your connection object.
0 commit comments