问题描述
我已经对数据库的mysql用户进行了所有的处理,但仍然低于错误
I have all previleges to the mysql user for the database but still getting below error
警告:PDOStatement :: execute():LOAD DATA LOCAL INFILE禁止在/Symfony/vendor/doctrine/dbal/lib/Doctrine/DBAL/Statement.php行138
Warning: PDOStatement::execute(): LOAD DATA LOCAL INFILE forbidden in /Symfony/vendor/doctrine/dbal/lib/Doctrine/DBAL/Statement.php line 138
[Symfony\Component\Debug\Exception\ContextErrorException]
警告:PDOStatement :: execute():LOAD DATA LOCAL INFILE被禁止在/ Symfony /供应商/教义/ DBAL / lib中/教义/ DBAL /声明.php line 138
[Symfony\Component\Debug\Exception\ContextErrorException]
Warning: PDOStatement::execute(): LOAD DATA LOCAL INFILE forbidden in /Symfony/vendor/doctrine/dbal/lib/Doctrine/DBAL/Statement.php line 138
推荐答案
得到相同的异常消息。
我能够通过使用PDO肮脏地执行此操作。
Got the same exception message.I was able to perform this by using PDO dirtectly.
这篇关于执行“LOAD DATA LOCAL INFILE”时发生异常的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!