Home  >  Article  >  Database  >  In MySQL, why can't one client use a user-defined variable defined by another client?

In MySQL, why can't one client use a user-defined variable defined by another client?

WBOY
WBOYforward
2023-09-23 18:09:141167browse

In MySQL, why cant one client use a user-defined variable defined by another client?

In MySQL, user-defined variables defined by one client cannot be seen or used by another client because user-defined variables are specific for connection. This means that all variables for a given client connection are automatically released when the client exits

The above is the detailed content of In MySQL, why can't one client use a user-defined variable defined by another client?. 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