MySQL database 3948 error resolution

I have read a lot of CSDN related solutions, there is a method to start the task manager from cmd, and from ctrl+shift+esc.
Later, it was found that you can directly enter relevant commands in sqlyog to modify.

1. Resolution process

  • View the status of the current local_infile
SHOW VARIABLES LIKE 'local_infile';

The result is as follows:
insert image description here

  • Modify the status of local_infile
SET GLOBAL local_infile = 1;

Screenshot below:
insert image description here

  • Check again and you can see that it has turned ON
    insert image description here

2. Next is the process of importing csv data into the sql table

  • select import
    insert image description here
  • Note that the character set is selected as gbk, so that there will be no garbled characters
    insert image description here
  • The result display after the import is successful:
    insert image description here

Guess you like

Origin blog.csdn.net/qq_41714549/article/details/126452898