2011-02-28 mysql 一度作成したデータベースの名前を変える方法です。バージョンは5.1.41です。 MySQL 5.1.7以前では、RENAME DATABASEを使えば簡単にできたのですが、危険を伴うため5.1.23からこのクエリは使えなくなっています。 This statement was added in MySQL 5.1.7 but was found to be dangerous and was removed in MySQL 5.1.23. It was intended to enable upgrading pre-5.1 databases to use the encoding implemented in 5.1 for mapping database names to database directory names (see Section
![データベース名を変更するには | RISIN'](https://cdn-ak-scissors.b.st-hatena.com/image/square/d144fe8cb90497dae8e83b73c3ca50d14b7488e0/height=288;version=1;width=512/http%3A%2F%2Frisin.jp%2Fimages%2Fog_image.jpg)