Mysql permission errors with 'load data'

前端 未结 2 400
栀梦
栀梦 2020-11-29 08:45

I am running into a permission error when trying to load data from a flat file database dump into a new table. I know that the schema of the file and my table is the same an

2条回答
  •  挽巷
    挽巷 (楼主)
    2020-11-29 08:50

    Here's a thread on the MySQL forums that discusses exactly this.

    Here's the answer, posted by Ken Tassell

    Problem resolved using the command below:

    grant file on *.* to kentest@localhost identified by 'kentest1';
    

提交回复
热议问题