I am trying to import a table in a newly created instance in google MySQL cloud but I get the following error message:
Error 1142: INSERT command denied to user 'cloudsqlimport'@'127.0.0.1' for table
When I try to grant the privileges to cloudsqlimport from cloud sql console:
mysql> UPDATE `mysql`.`user` SET `insert_priv` = 'Y' WHERE `User` = 'cloudsqlimport';
ERROR 1142 (42000): UPDATE command denied to user 'root'@'104.xxx.xx.xx' for table 'user'
mysql> UPDATE `mysql`.`user` SET `Grant_priv` = 'Y' WHERE `User` = 'root';
ERROR 1142 (42000): UPDATE command denied to user 'root'@'104.xxx.xx.xx' for table 'user'
Same issue when I try to grant the 'insert_priv' through MySQL workbench
How can I resolve this issue?