重命名数据库在MySQL中不再可用吗?

时间:2022-09-24 23:53:17

If so, what is the workaround? I have a genuine need for this. Thanks.

如果是的话,解决办法是什么?我确实需要这个。谢谢。

3 个解决方案

#1


2  

Dump the existing database and import into a new one.

转储现有数据库并导入新的数据库。

#2


2  

Yes, it was removed, and also refer to Michael's answer above.

是的,它被删除了,也参考了上面迈克尔的答案。

http://dev.mysql.com/doc/refman/5.1/en/rename-database.html

http://dev.mysql.com/doc/refman/5.1/en/rename-database.html

#3


0  

No. http://dev.mysql.com/doc/refman/5.1/en/rename-database.html

不。http://dev.mysql.com/doc/refman/5.1/en/rename-database.html

#1


2  

Dump the existing database and import into a new one.

转储现有数据库并导入新的数据库。

#2


2  

Yes, it was removed, and also refer to Michael's answer above.

是的,它被删除了,也参考了上面迈克尔的答案。

http://dev.mysql.com/doc/refman/5.1/en/rename-database.html

http://dev.mysql.com/doc/refman/5.1/en/rename-database.html

#3


0  

No. http://dev.mysql.com/doc/refman/5.1/en/rename-database.html

不。http://dev.mysql.com/doc/refman/5.1/en/rename-database.html