I'm setting up backup procedures on my server. I'm going to backup all files, mysql databses, etc. I'm wondering if there's a file or place I can backup in order to just be able to "restore" mysql users?
Tell me more
×
Server Fault is a question and answer site for
professional system and network administrators. It's 100% free, no registration required.
|
The Mysql user is in the table user of database Mysql, for backup this table you could do this :
For backup all database of mysql and create a file for each database you could do your own shell script, following some line of code that can help you :
|
|||
|
|
|
The |
|||||
|