List:General Discussion« Previous MessageNext Message »
From:mfatene Date:May 23 2005 7:15am
Subject:Re: MySQL give up on a query after a certain length of time
View as plain text  
Hi,
forget previous email,
Variables are net_read_timeout and net_write_timeout :

mysql> show variables like '%timeout';
+--------------------------+-------+
| Variable_name            | Value |
+--------------------------+-------+
| connect_timeout          | 5     |
| delayed_insert_timeout   | 300   |
| innodb_lock_wait_timeout | 50    |
| interactive_timeout      | 28800 |
| net_read_timeout         | 30    |   <---
| net_write_timeout        | 60    |   <---
| slave_net_timeout        | 3600  |
| sync_replication_timeout | 0     |
| wait_timeout             | 28800 |
+--------------------------+-------+
9 rows in set (0.00 sec)



Mathias



Selon mfatene@stripped:

> Hi,
> in the conf one use minus "-", in the command line it's generally underscore
> "_".
> the variables should be network_timeout
>
> Mathias
>
>
> Selon Jacob Friis Larsen <webcom.dk@stripped>:
>
> > On 5/20/05, TheRefUmp@stripped <TheRefUmp@stripped> wrote:
> > > There is a variable called --network-timeout ! You can set it to 300 (5
> > minutes, etc.).
> >
> > SET SESSION network-timeout=120;
> > ERROR 1193 (HY000): Unknown system variable 'network'
> >
> > How should I use network-timeout?
> >
> > Thanks,
> > Jacob
> >
> > --
> > MySQL General Mailing List
> > For list archives: http://lists.mysql.com/mysql
> > To unsubscribe:    http://lists.mysql.com/mysql?unsub=1
> >
> >
>
>
>
> --
> MySQL General Mailing List
> For list archives: http://lists.mysql.com/mysql
> To unsubscribe:    http://lists.mysql.com/mysql?unsub=1
>
>


Thread
MySQL give up on a query after a certain length of timeJacob Friis Larsen20 May
  • Re: MySQL give up on a query after a certain length of timeGleb Paharenko20 May
    • Re: MySQL give up on a query after a certain length of timeJacob Friis Larsen20 May
      • Re: MySQL give up on a query after a certain length of timeGleb Paharenko23 May
        • Re: MySQL give up on a query after a certain length of timeJacob Friis Larsen23 May
          • Re: MySQL give up on a query after a certain length of timeGleb Paharenko24 May
            • Re: MySQL give up on a query after a certain length of timeJacob Friis Larsen24 May
  • Re: MySQL give up on a query after a certain length of timeTony Yau20 May
Re: MySQL give up on a query after a certain length of timeTheRefUmp20 May
  • Re: MySQL give up on a query after a certain length of timeJacob Friis Larsen21 May
  • Re: MySQL give up on a query after a certain length of timeJacob Friis Larsen23 May
    • Re: MySQL give up on a query after a certain length of timemfatene23 May
      • Re: MySQL give up on a query after a certain length of timemfatene23 May
        • Re: MySQL give up on a query after a certain length of timeJacob Friis Larsen23 May