SELECT name.id,
name.full,
FROM name
INTO OUTFILE 'tmp/export.csv'
FIELDS TERMINATED BY ','
LINES TERMINATED BY '\n'
当我运行此查询时,它会返回错误
1045 - 用户'admin'@'localhost'拒绝访问(使用密码:是)
我该怎么做才能解决这个问题?
此部分在上述查询中是否正确?
INTO OUTFILE'tmp / export.csv'