查看功能是否打开
mysql> show global variables like 'local_infile'; +---------------+-------+ | Variable_name | Value | +---------------+-------+ | local_infile | OFF | +---------------+-------+ 1 row in set (0.00 sec) mysql> set global local_infile=1; Query OK, 0 rows affected (0.00 sec) mysql> show global variables like 'local_infile'; +---------------+-------+ | Variable_name | Value | +---------------+-------+ | local_infile | ON | +---------------+-------+ 1 row in set (0.00 sec)
原创文章,作者:ItWorker,如若转载,请注明出处:https://blog.ytso.com/287420.html