mysql> select database();
+------------+
| database() |
+------------+
| leyangjuntest       |
+------------+
1 row in set (0.00 sec)

mysql> SELECT * FROM information_schema.SCHEMATA where schema_name='leyangjuntest';
+--------------+-------------+----------------------------+------------------------+----------+
| CATALOG_NAME | SCHEMA_NAME | DEFAULT_CHARACTER_SET_NAME | DEFAULT_COLLATION_NAME | SQL_PATH |
+--------------+-------------+----------------------------+------------------------+----------+
| NULL         | leyangjuntest       | latin1                     | latin1_swedish_ci      | NULL     |
+--------------+-------------+----------------------------+------------------------+----------+
1 row in set (0.00 sec)

mysql>