对于mysql,schema和database可以理解为等价的.

As defined in the MySQL Glossary:In MySQL, physically, a schema is synonymous with a database. You can substitute the keyword SCHEMA instead of DATABASE in MySQL SQL syntax, for example using CREATE SCHEMA instead of CREATE DATABASE.Some other database products draw a distinction. For example, in the Oracle Database product, a schema represents only a part of a database: the tables and other objects owned by a single user.

https://stackoverflow.com/questions/11618277/difference-between-schema-database-in-mysql

https://dev.mysql.com/doc/refman/5.7/en/glossary.html#glos_schema