Mac OS X
Components Crossplatform Mac & Win Server (Not) Client Old Guides
New in version: 5.4 6.0 6.1 6.2 6.3 6.4 6.5 7.0 7.1 7.2 Statistic
Initialize a new SAConnection object and returns Connection Reference.
The ID to use instead of default one.
Must be unique. If none is provided, the plugin will create one.
An error or a connection reference number.
DescriptionInitialize a new SAConnection object and returns Connection Reference.
The Connection represents a database connection. You must have a connection before you can operate on the database - furthermore the connection needs to be connected. It is important to note that connection objects are not connected during construction - it is up to the user to explicitly call Connect method for the object after it is created and before it is used. Once connected, a connection object is normally shared by the other objects that require a connection (e.g. commands).
Use SQL.FreeConnection to release connection after you finished.
SQL connection reference numbers are starting at 23000 and counting up for each new connection.
Create new connection
Connect to MySQL and run a query:
Feedback: Report problem or ask question.