Type name | Support | Remarks |
---|---|---|
BOOL (BOOLEAN) | Yes | Alias of tinyint(1) |
BIT | Limited | |
TINYINT | Yes | |
TINYINT UNSIGNED | Yes | |
MEDIUMINT | Yes | |
MEDIUMINT UNSIGNED | Yes | |
SMALLINT | Yes | |
SMALLINT UNSIGNED | Yes | |
INT (INTEGER) | Yes | |
INT UNSIGNED (INTEGER UNSIGNED) | Yes | |
BIGINT | Yes | |
BIGINT UNSIGNED | Yes | |
FLOAT | Limited | |
FLOAT UNSIGNED | Limited | |
DOUBLE | Limited | |
DOUBLE UNSIGNED | Limited | |
REAL | Limited | |
REAL UNSIGNED | Limited | |
DECIMAL (NUMERIC) | Yes | |
DECIMAL UNSIGNED (NUMERIC UNSIGNED) | Yes | |
DATE | Limited | |
DATETIME | Limited | |
TIMESTAMP | Limited | |
TIME | Limited | |
YEAR | Limited | |
CHAR | Limited | |
VARCHAR | Limited | |
BINARY | Yes | |
VARBINARY | Yes | |
TINYBLOB | Yes | |
TINYTEXT | Limited | |
BLOB | Yes | |
TEXT | Limited | |
MEDIUMBLOB | Yes | |
MEDIUMTEXT | Limited | |
LONGBLOB | Yes | |
LONGTEXT | Limited | |
ENUM | Limited | |
SET | Limited |
Exception name | Cause | Actions |
---|---|---|
com.mysql.jdbc.exceptions.jdbc4.CommunicationsException | Cannot connect to the database. | Check the [Hostname] and [Port number]. |
com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException
Unknown database '<database name>' |
The database does not exist. | Make sure the specified [Database name] exists. |
java.sql.SQLException
Access denied for user '<username >'@'< terminal name>' (using password: YES) |
Connected to the database but cannot login. | Check that the correct [User name] and [Password] is specified. |
com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException
Table '<table name>' doesn't exist |
The table does not exist. | Make sure the specified [Table name] exists. |