Minimum GRANTs needed by mysqldump for dumping a full schema? (TRIGGERs are missing!!)

前端 未结 4 495
日久生厌
日久生厌 2020-12-02 08:15

I have a MySQL user called dump with the following perms:

GRANT USAGE ON *.* TO \'dump\'@\'%\' IDENTIFIED BY ...
GRANT SELECT, LOCK TABLES ON `mysql         


        
4条回答
  •  借酒劲吻你
    2020-12-02 08:42

    I found, that sometime if VIEW DEFINER user does not exist, dump fails.

    Change it, as described there

提交回复
热议问题