What are user-defined variables in MySQL?

In MySQL we can create user-defined variables. We can store a value in a user-defined variable in one statement and later use it in subsequent statements.

User-defined variables are specific to a session. A user-defined variable can not be shared among multiple clients.

The name of user-defined variable can have maximum 64 characters and it is case-insensitive.