
- Learn MySQL
- MySQL - Home
- MySQL - Introduction
- MySQL - Installation
- MySQL - Administration
- MySQL - PHP Syntax
- MySQL - Connection
- MySQL - Create Database
- MySQL - Drop Database
- MySQL - Select Database
- MySQL - Data Types
- MySQL - Create Tables
- MySQL - Drop Tables
- MySQL - Insert Query
- MySQL - Select Query
- MySQL - Where Clause
- MySQL - Update Query
- MySQL - Delete Query
- MySQL - Like Clause
- MySQL - Sorting Results
- MySQL - Using Join
- MySQL - NULL Values
- MySQL - Regexps
- MySQL - Transactions
- MySQL - Alter Command
- MySQL - Indexes
- MySQL - Temporary Tables
- MySQL - Clone Tables
- MySQL - Database Info
- MySQL - Using Sequences
- MySQL - Handling Duplicates
- MySQL - SQL Injection
- MySQL - Database Export
- MySQL - Database Import
How Can we permanently define user-defined variable for a client in MySQL?
In MySQL, it is not possible that a client can hold user variable permanently. It is because all the variables for a given client connection are automatically freed when that client exits.
- Related Articles
- In MySQL, why a client cannot use a user-defined variable defined by another client?
- How can we store a value in user-defined variable?
- Select into a user-defined variable with MySQL
- Perform MySQL SELECT INTO user-defined variable
- MySQL ORDER BY with numeric user-defined variable?
- How to display grant defined for a MySQL user?
- How can we delete an existing MySQL event permanently?
- Set user-defined variable with table name in MySQL prepare statement?
- How can we use SET statement to assign a SELECT result to a MySQL user variable?
- Updating a MySQL table row column by appending a value from user defined variable?
- Can we use the word user for a MySQL table?
- How to set different auto-increment ids for two tables with a user-defined variable?
- How can we grant privileges to a MySQL user?
- How can we revoke privileges from a MySQL user?
- Using User-Defined Variables in MySQL

Advertisements