LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 07-22-2009, 11:17 AM   #1
Stephan_Craft
Member
 
Registered: Jul 2008
Posts: 184

Rep: Reputation: 30
Lightbulb net_buffer_length can't set it


Hello,

I try to set net_buffer_length in my.cnf
but no meter what i put in it stays the same

+-------------------+---------+
| Variable_name | Value |
+-------------------+---------+
| net_buffer_length | 1048576 |
+-------------------+---------+


"set" also doesn't work...

mysql> set net_buffer_length=256000000;
ERROR 1621 (HY000): SESSION variable 'net_buffer_length' is read-only. Use SET GLOBAL to assign the value

Last edited by Stephan_Craft; 07-22-2009 at 11:28 AM.
 
Old 07-22-2009, 11:40 AM   #2
Stephan_Craft
Member
 
Registered: Jul 2008
Posts: 184

Original Poster
Rep: Reputation: 30
mysql> set global net_buffer_length=256000000;
Query OK, 0 rows affected, 1 warning (0.00 sec)

mysql> show variables like 'net_buffer_length' ;
+-------------------+---------+
| Variable_name | Value |
+-------------------+---------+
| net_buffer_length | 1048576 |
+-------------------+---------+

what i'm doing wrong?
 
Old 10-17-2011, 03:36 PM   #3
wamayall
LQ Newbie
 
Registered: Oct 2011
Posts: 1

Rep: Reputation: Disabled
Setting global variable

You set a global variable, then you did NOT do:
mysql>show GOLBAL variables like '%net%';

You just did a
mysql>show variables....
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
cpufreqd can't start (Couldn't set profile "Performance High" set for cpu0) simopal6 Linux - Laptop and Netbook 2 05-10-2007 08:31 AM
Cannot set LD_LIBRARY_PATH in .cshrc (able to set other env variables) senthilpr_in Linux - Newbie 4 02-26-2007 12:46 PM
Set group id,set user id? JAKK Slackware 3 06-15-2006 10:16 PM
change the background for X windows and set to fill whole screen and set screen saver eatranman Linux - Newbie 2 05-10-2006 08:41 PM
How to view set-user-ID and set-group-ID Xris718 Linux - General 7 01-10-2004 01:44 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 03:07 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration