1.配置文件中将这行注销“secure-file-priv="C:/ProgramData/MySQL/MySQL Server 5.7/Uploads" ”;很多人添加权限依然不行就是因为这行没有添加;

注意:加完后一定要重启mysql;

2.赋权限

grant all on proposaldb.* to root@'localhost' identified by 'zzzz2222.';

set global read_only=off ;/*set global read_only=0;*/

 flush privileges;/* SET SESSION binlog_format = 'ROW'; SET GLOBAL binlog_format = 'ROW';*/

select LoginName from sysuser    into outfile 'e://output1.csv' fields terminated by ','optionally enclosed by '' lines terminated by '/n';

相关文章:

  • 2021-09-26
  • 2021-12-22
  • 2022-12-23
  • 2022-12-23
  • 2021-06-22
  • 2022-12-23
  • 2022-02-12
  • 2021-06-26
猜你喜欢
  • 2021-11-06
  • 2021-08-12
  • 2022-12-23
  • 2021-08-10
相关资源
相似解决方案