Error en max_allowed_packet

11 views
Skip to first unread message

Elí Daván Palma

unread,
Feb 14, 2014, 10:30:45 AM2/14/14
to ida...@googlegroups.com
Buenos días,

Quiero restaurar una BD y me da un error de max_allowed_packet, intente cambiar ese valor pero cuando ejecuto   "SHOW VARIABLES LIKE 'max_allowed_packet" siempre me da el mismo valor como si nada hubiera cambiado



[root@www ~]# service mysqld restart 
Parando mysqld:                                            [  OK  ]
Iniciando mysqld:                                          [  OK  ]
[root@www ~]# 


mysql> 
mysql> set global max_allowed_packet=1000000000;
Query OK, 0 rows affected (0.00 sec)

mysql> SHOW VARIABLES LIKE 'max_allowed_packet';
+--------------------+---------+
| Variable_name      | Value   |
+--------------------+---------+
| max_allowed_packet | 1048576 | 
+--------------------+---------+
1 row in set (0.00 sec)

mysql> 
mysql> 



también intente cambiando estos valores en el PHP.INI y nada
post_max_size = 8M 
upload_max_filesize = 2M 
max_execution_time = 30 
max_input_time = 60 
memory_limit = 8M 


Alguna ayuda?

 

--
Atentamente,
__________________________________
Daván Palma Elì
Técnico en Computación e informática
957499572

Elí Daván Palma

unread,
Feb 14, 2014, 10:50:08 AM2/14/14
to ida...@googlegroups.com

[root@www ~]# mysql -u root -pXXXXXX nombrebasededatos < /home/folder/basededatosrestaurar.sql;

ERROR 1153 (08S01) at line 43598: Got a packet bigger than 'max_allowed_packet' bytes

Reply all
Reply to author
Forward
0 new messages