如何使用查询重命名MySQL数据库名称?
我尝试通过phpmyadmin重命名数据库,并收到以下错误:
SQL query:
RENAME DATABASE test TO test_bkp
MySQL said:
#1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'DATABASE test To test_bkp' at line 1