mysql> load data local infile '/Users/flint/learn/mysql/pet' into table bx_pet;

 执行报错

ERROR 1148 (42000): The used command is not allowed with this MySQL version

 解决办法:

在连接数据库的时候使用

mysql --local-infile -uroot -p 连接即可

相关文章:

  • 2022-12-23
  • 2021-09-27
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-02-19
  • 2022-12-23
  • 2021-08-17
猜你喜欢
  • 2021-10-16
  • 2022-12-23
  • 2022-02-25
  • 2022-12-23
  • 2021-10-13
  • 2022-12-23
  • 2021-04-19
相关资源
相似解决方案