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 | |
JSON | No |
Exception name | Cause | Solution | |
---|---|---|---|
com.mysql.jdbc.exceptions.jdbc4.CommunicationsException | Unable to connect to the database. | Check [Host name] or [Port number] of the global resource. | |
com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientConnectionException | |||
com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException | Unknown database '<database name>' | The database is not found. | Specify an existing database in [Database name] of global resource. |
java.sql.SQLException | Access denied for user '<user name>'@'<terminal name>'(using password: YES) | The user name or the password is incorrect. | Check [User name] or [Password] of the global resource. |
com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException | Table '<table name>' doesn't exist | The table does not exist. | Specify an existing table in [Table name]. |