"MySQL" (Data Connection)
"MySQL" (Data Connection)
Details
- Use DataConnectionObject to represent data located in a MySQL database in Wolfram Language.
- Import can be used to retrieve data from a DataConnectionObject.
- RelationalDatabase can be used to represent the schema of a "MySQL" database.
Properties
"ConnectionName" | "MySQL" | |
"Location" | SQL query given as a string | |
"Redownload" | whether to rerun the query and overwrite cached results |
"DatabaseName" | string giving the database to access | |
"Host" | the host servicing the database |
"Port" | the server port to access the database |
"query" | SQL query given as a string |
Supported Types
BOOLEAN | True or False | |
BINARY, BLOB, LONGBLOB, MEDIUMBLOB, TINYBLOB, VARBINARY | ByteArray | |
DATE | DateObject with day granularity | |
DATETIME | DateObject with instant granularity | |
TIMESTAMP | DateObject with instant granularity and time zone support | |
DECIMAL, NUMERIC | Real with fixed precision | |
BIGINT, INTEGER, MEDIUMINT, SMALLINT, TINYINT, YEAR | Integer | |
DOUBLE, FLOAT, REAL | Real | |
CHAR, LONGTEXT, MEDIUMTEXT, NCHAR, NVARCHAR, TEXT, TINYTEXT, VARCHAR | String | |
TIME | TimeObject |
Account Setting & Authentication
Automatic | attempt to use saved credentials or give a dialog | |
"Dialog" | give authentication parameters via a dialog | |
SystemCredential["key"] | retrieve authentication information from secure storage | |
SystemCredentialData[…] | stored authentication data | |
assoc | provide explicit credentials |
"Username" | username | |
"Password" | password |