This post isn't duplicate. I already referred this post and this post but the answers doesn't help
I am trying to execute a code in mySQL client window. HowEVER,I get the below error
The used command is not allowed with this MySQL version
What I did
SET GLOBAL local_infile = 1;
SHOW VARIABLES LIKE 'local_infile';
I executed the above commands in MySQL 8.0 Command Line Client
When I tried to do the same thing in MySQL Shell
, I get the below error as Unexpected identifier
I am assuming MySQL Shell
is the server. Do we have to do this at both client and server side?
How do I resolve this? In addition, whenever I launch command line client, I am only prompted to type password. So I am not able to pass it as a parameter. my clinet looks like as shown below
But how do I pass the below parameters while logging in then?
mysql -u abcd -p password_here --local-infile=1
I am new to MySQL and can you guide me?