“mysqldump requires at least the SELECT privilege for dumped tables, SHOW VIEW for dumped views, TRIGGER for dumped triggers, and LOCK TABLES if the –single-transaction option is not used. Certain options might require other privileges as noted in the option descriptions.”
– http://dev.mysql.com/doc/refman/5.6/en/mysqldump.html
July 23, 2013
mysqldump privileges required
3 Comments »
RSS feed for comments on this post. TrackBack URL
The chart says –triggers (default on) requires “SUPER ON *.* or TRIGGER” but this is ambiguous. In 5.0, you need SUPER. In later releases, triggers are silently skipped if you lack TRIGGER
Comment by Trig — July 23, 2013 @ 4:38 pm
Thanks Trig, corrected.
Comment by snoyes — August 12, 2013 @ 10:02 am
Thanks. I was having problem with mysqldump.
Comment by sathorn — October 1, 2014 @ 2:07 am