SQLConnectionOptions
Description
Create connection options for a MySQL® native interface connection.
First, create an SQLConnectionOptions
object, set the connection
options, test the connection, and save the data source. Then, create a MySQL native interface connection using the saved data source. The connection options
include the options required to make a database connection. You can also define additional
connection options for a specific database driver.
Creation
Create an SQLConnectionOptions
object using the databaseConnectionOptions
function.
Properties
Object Functions
rmoptions | Remove MySQL native interface connection options |
saveAsDataSource | Save MySQL native interface data source |
setoptions | Set MySQL native interface connection options |
reset | Reset MySQL native interface connection options to defaults |
testConnection | Test MySQL native interface database connection |
Examples
Version History
Introduced in R2020b