Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How I can change local-infile? #40

Open
PCoutoFR opened this issue Dec 13, 2023 · 1 comment
Open

How I can change local-infile? #40

PCoutoFR opened this issue Dec 13, 2023 · 1 comment

Comments

@PCoutoFR
Copy link

PCoutoFR commented Dec 13, 2023

When I try to change advanced options to set local-infile =1 that not possible save configuration.

So have another way to set local-infile?

I also try change directly json settings like this

"mssql.connections": [
{
"server": "xxxx",
"database": "",
"authenticationType": "SqlLogin",
"user": "xxxxxx",
"password": "",
"emptyPasswordInput": xxx,
"savePassword": xxx,
"profileName": "xxxx",
"encrypt": "xxxx",
"trustServerCertificate": xxx,
"connectTimeout": 15,
"local-infile": 1,
"commandTimeout": 30,
"applicationName": "vscode-mssql"
}

@Bryon-Abbott
Copy link

Ran into the same issue ... tried to set the Option the same as Philipe via the
Edit Connection... --> Advanced --> Other Connection Options
like the MySQL Workbench but the option didn't seem to stick.

I ended up just running my script in terminal with mysql using the --local-infile option.

bryon@xxx:~$ mysql --local-infile -u bryon -p
...
mysql> source inputfile.sql;
...
mysql>

Happy to provide more details or help testing ...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants