As you have seen in the previous chapters, you can set the parameters by connecting to MySQL and executing the SET command.
There are two types of variables based on the scope of the variable:
- Global: Applies to all the new connections
- Session: Applies only to the current connection (session)