Home  >  Article  >  Database  >  How to permanently define user-defined variables for clients in MySQL?

How to permanently define user-defined variables for clients in MySQL?

WBOY
WBOYforward
2023-09-17 13:33:081325browse

How to permanently define user-defined variables for clients in MySQL?

In MySQL, it is impossible for the client to permanently save user variables. This is because all variables for a given client connection are automatically released when that client exits.

The above is the detailed content of How to permanently define user-defined variables for clients in MySQL?. For more information, please follow other related articles on the PHP Chinese website!

Statement:
This article is reproduced at:tutorialspoint.com. If there is any infringement, please contact admin@php.cn delete