This is a discussion on MySQL Server Variables within the Database Support forums, part of the Web Development category; Hi, What is the Use of MySQL Server Variables? Regards sivaraman....
| |||||||
| Register | FAQ | Members List | Calendar | Mark Forums Read |
| |||
| hi... Mysql server have many server variables, they are used to configure the various components and aspects of the MySQL server, storage engines, client, and support tools. Each system variable has a default value. System variables can be set at server startup. Most of them can be changed dynamically while the server is running by means of the SET statement, which enables you to modify operation of the server without having to stop and restart it. Regards, S.Ashokkumar |
| |||
| Are the system variable can be changed by any user or only by admin user ? Also let me know if we can able to allow (Partially, limited access to modify the system variables) a common user to modify the system variables ?
__________________ Keep smiling... |
| |||
| Hi, I want to change some variable values in mysql datebase (EX:system_time_zone,wait_timeout,sort_buffer_size ) is it possible in sever variable. Regards sivaraman Last edited by sivaramakrishnan : 08-08-2007 at 01:29 AM. |
| ||||||
| Hi Sivaram, Yes u change the values of some server variables manually for active session using commands below, SHOW variables LIKE 'wait_timeout'; Quote:
Quote:
Quote:
Quote:
Quote:
Quote:
Hope its clear !!!
__________________ -Murali.. |
| |||
| hi... We can change the some server variable globally.... Syntax : SET GLOBAL variable_name = value; Example : SET GLOBAL group_concat_max_len = 65535; If we change a session system variable, the value remains in effect until our session ends or until we change the variable to a different value. The change is not visible to other clients. If we change a global system variable, the value is remembered and used for new connections until the server restarts. The change affects the corresponding session variable only for clients that connect after the change. Regards, S.Ashokkumar. |
| |||
| Yes Ashok we can set the values for some global variable present in the server temporarily till the system restarts. If we need that value to be set permanently then we need to change the server parameter values in the mysql config file.
__________________ -Murali.. |
![]() |
| Thread Tools | |
| Display Modes | |
| |
LinkBacks (?)
LinkBack to this Thread: http://www.discussweb.com/database-support/3192-mysql-server-variables.html | |||
| Posted By | For | Type | Date |
| DiscussWeb IT Community - Fusing | This thread | Refback | 08-07-2007 11:02 PM |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| How to install Mysql in Linux server? | write2ashokkumar | Server Management | 1 | 12-14-2007 04:24 AM |
| Importing mysql dump file to my Local Server | Murali | Database Support | 1 | 12-12-2007 07:10 AM |
| ERROR 2002 (HY000): Can't connect to local MySQL server through socket | Gopisoft | Database Support | 1 | 10-29-2007 03:07 AM |
| How to get the Post values without using Server Variables? | senraj | PHP Programming | 6 | 10-17-2007 11:31 PM |
| I need to find out how many client connections were aborted by MySQL server | Sabari | Database Support | 1 | 07-17-2007 04:34 AM |