Jump to content
Sign in to follow this  
Eddie Murphy

Consertando Erro While Saving Player

Recommended Posts

Eddie Murphy    0
Eddie Murphy

ETAPA 1:

 

 

Iniciar/Executar, digite cmd

 

 

Caso use o xampp, no prompt digite:

1 - cd ../../xampp/mysql/bin

2 - mysql -uroot -p e digite sua senha do mysql(mesma do phpmyadmin)

3 - SET @@NET_READ_TIMEOUT=1000;

4 - show variables like "%timeout%";

 

 

e verifique se apareceu isso no console:

 

 

+--------------------------+-------+

| Variable_name | Value |

+--------------------------+-------+

| connect_timeout | 5 |

| delayed_insert_timeout | 300 |

| innodb_lock_wait_timeout | 50 |

| interactive_timeout | 28800 |

| net_read_timeout | 1000 |

| net_write_timeout | 60 |

| slave_net_timeout | 3600 |

| wait_timeout | 28800 |

+--------------------------+-------+

8 rows in set (0.01 sec)00;

 

 

ETAPA 2:

 

 

1 - Ir até a pasta C:/xampp/mysql/bin

2 - Abrir o arquivo my.ini

3 - CTRL+F procure por max_allowed_packet

4 - Altere para 500M

5 - Altere tambem read_buffer e write_buffer para 20M

6 - Altere tambem innodb_lock_wait_timeout para 1000

 

 

ETAPA 3:

 

 

1 - Navegue até a pasta C:/xampp/php

2 - Abrir o arquivo php.ini

3 - CTRL+F procure por mysql.connect_timeout

4 - Altere para mysql.connect_timeout = 1000

 

Créditos: ETAPA 1 (Ninja @OTLand, ETAPA 2 e 3 Igor Pereira)

Edited by Eddie Murphy

Share this post


Link to post
Share on other sites
Fixthow    33
Fixthow

Opa, ótimo tutorial. Nunca havia visto um tutorial desse, realmente servidor mysql é meio chato essa questão de perda de pacote, limite conexão e etc.

 

Aprovado, obrigado por contribuir.

 

Foi você que fez este tutorial?

Share this post


Link to post
Share on other sites
Eddie Murphy    0
Eddie Murphy

Sim créditos totalmente meu, só a etapa um que eu achei de um cara em outro fórum, porém, eu editei e coloquei mais funções, ou seja, completei o tutorial que havia muitas coisa a colocar.

Obrigado!

Share this post


Link to post
Share on other sites
Fixthow    33
Fixthow
Sim créditos totalmente meu, só a etapa um que eu achei de um cara em outro fórum, porém, eu editei e coloquei mais funções, ou seja, completei o tutorial que havia muitas coisa a colocar.

Obrigado!

 

Peço que coloque no tópico os devidos tutoriais então do user e fórum que pego etapa um, por favor.

Share this post


Link to post
Share on other sites
Eddie Murphy    0
Eddie Murphy
Peço que coloque no tópico os devidos tutoriais então do user e fórum que pego etapa um, por favor.

Prontinho, obrigado.

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

×