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 type) | 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 | Message | Cause / Solution |
---|---|---|
com.mysql.jdbc.CommunicationsException | Cannot connect to the database. Check the host name and port number. | |
com.mysql.jdbc.exceptions.MySQLSyntaxErrorException | Unknown database '<database name>' | Make sure the specified database exists. |
java.sql.SQLException | Access denied for user '<username>'@'<terminal name>' (using password: YES) | Check that the correct user name and password is specified. |
com.mysql.jdbc.exceptions.MySQLSyntaxErrorException | Table '<table name>' doesn't exist | Verify that the specified table name is correct. |