-------------- SHOW VARIABLES LIKE "%CHAR%" -------------- +--------------------------+----------------------------+ | Variable_name | Value | +--------------------------+----------------------------+ | character_set_client | utf8 | | character_set_connection | utf8 | | character_set_database | utf8 | | character_set_filesystem | binary | | character_set_results | utf8 | | character_set_server | utf8 | | character_set_system | utf8 | | character_sets_dir | /usr/share/mysql/charsets/ | +--------------------------+----------------------------+ 8 rows in set (0.00 sec) -------------- CREATE DATABASE IF NOT EXISTS test -------------- Query OK, 1 row affected, 1 warning (0.00 sec) Note (Code 1007): Can't create database 'test'; database exists -------------- CREATE OR REPLACE TABLE maria_table_coupon_varchar ENGINE=CONNECT DEFAULT CHARSET=utf8 TABLE_TYPE='MYSQL' TABNAME='table_coupon_varchar' DBNAME='test' OPTION_LIST='user=root,host=10.0.1.36' -------------- Query OK, 0 rows affected (0.09 sec) -------------- SELECT * FROM maria_table_coupon_varchar -------------- +-----------+------+----------+ | coupon_no | memo | discount | +-----------+------+----------+ | 1 | ??? | 250 | | 2 | ?? ? | 200 | | 3 | ??? | 300 | +-----------+------+----------+ 3 rows in set (0.00 sec) -------------- CREATE OR REPLACE TABLE maria_table_coupon_text ENGINE=CONNECT DEFAULT CHARSET=BINARY TABLE_TYPE='MYSQL' TABNAME='table_coupon_text' DBNAME='test' OPTION_LIST='user=root,host=10.0.1.36' -------------- Error (Code 1105): Column memo unsupported type text Error (Code 1030): Got error 122 "Internal (unspecified) error in handler" from storage engine CONNECT -------------- SELECT * FROM maria_table_coupon_text -------------- -------------- CREATE OR REPLACE TABLE maria_table_coupon_mediumtext ENGINE=CONNECT DEFAULT CHARSET=BINARY TABLE_TYPE='MYSQL' TABNAME='table_coupon_mediumtext' DBNAME='test' OPTION_LIST='user=root,host=10.0.1.36' -------------- Error (Code 1105): Column memo unsupported type mediumtext Error (Code 1030): Got error 122 "Internal (unspecified) error in handler" from storage engine CONNECT -------------- SELECT * FROM maria_table_coupon_mediumtext -------------- Bye