How to Export & Import Existing User (with its Privileges!)

后端 未结 9 2105
爱一瞬间的悲伤
爱一瞬间的悲伤 2021-02-03 17:01

I have an existing MySQL instance (test), containing 2 databases and a few users each having different access privileges to each database.

I now need to duplicate one of

9条回答
  •  Happy的楠姐
    2021-02-03 17:38

    PhpMyAdminYou can use phpMyAdmin.

    Login and Go to your database or a table where the user has access.

    Select privileges

    All users with access are there.

    Select Export. And a little window with all the GRANTS are there ready to copy and paste.

提交回复
热议问题