I'm trying to execute a valid command on MySQL on my C# code. I tried on SQL section in phpmyadmin and it works, but now, I must execute it on my C# program and I don't have any idea how to do it
C# suppose this @ refers to a parameter and it expects it, but it isn't, what I want is execute this command as it is. I tried to asign it as a parameter like ("@TRIGGER_CHECKS","@TRIGGER_CHECKS") but it doesn't work either.
This is the command, it works on MySQL:
SET @TRIGGER_CHECKS = TRUE;
I want to execute that command on C# and I don't know how to do it. Thanks.