How can we rename the database name in MySQL 5.0

后端 未结 5 1019
情话喂你
情话喂你 2021-02-07 21:41

I am using MySQL 5.0.

I have created a database named accounts, but now I want to change the database name to FinanceAccounts.

5条回答
  •  执念已碎
    2021-02-07 22:18

    MySQL kinda sucks for this. The only solid reliable solution is to use phpMyAdmin.

    Login > click Scheme > click "Operations" > find "Rename database to:" > write NewName > click "Go."

    As simple as that. All permissions are carried over.

提交回复
热议问题