MariaDB10變更root密碼時出現「ERROR 1356 (HY000): View ‘mysql.user’ references invalid table(s) or column(s) or function(s) or definer/invoker of view lack rights to use them」

小編在變更MariaDB10的root密碼時,遇到「ERROR 1356 (HY000): View ‘mysql.user’ references invalid table(s) or column(s) or function(s) or definer/invoker of view lack rights to use them」的告警而無法進行變更,查了資料才發現原來是語法錯誤,真是傻了!趕緊紀錄一下,避免日後再傻下去。 閱讀全文〈MariaDB10變更root密碼時出現「ERROR 1356 (HY000): View ‘mysql.user’ references invalid table(s) or column(s) or function(s) or definer/invoker of view lack rights to use them」〉