Note:
This topic has been translated from a Chinese forum by GPT and might contain errors.
Original topic: tidb用户账号导出
[TiDB Usage Environment] Production
[TiDB Version] 6.1, 4.1
[Encountered Issue] Synchronizing user accounts from 4.1 to 6.1 cluster
Synchronization can only be done logically. Account data can be roughly considered as static data. If you have a visual tool like Navicat, you can export it as INSERT statements and import it directly.
The simplest way is to write a script to batch show create user and show grants, then import the results. Alternatively, you can use dumpling to export and import logically.
Yes, synchronized in this way.
Let me ask again, the mem-quota-query configuration file is not effective under 6.1. Has the file configuration been canceled?
This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.