修改mysql 数据库名
For InnoDB, the following seems to work: create the new empty database, then rename each table in turn into the new database:RENAME TABLE old_db.table TO new_db.table; You will need to adjust the permissions after that.
same for myisam
页:
[1]