MySQL Forums
Forum List  »  Italian

#2006 - MySQL server has gone away
Posted by: Pietro Cosimo Bongiorno
Date: September 12, 2018 04:27AM

Ciao a tutti, sto cercando disperatamente di caricare un dump di un DB su MySQL, purtroppo non c'è verso, sia via phpmyadmin che via riga di comando.

Il Dump è stato Ottenuto eseguEndo il comando :
mysqldump -u UTENTE -pYtPWCXzVrSYML3uW -h localhost NOMEDB | gzip > /var/backups/bkp/NOMEDB-db.gz

il tutto sulla stessa macchina e sullo stesso MySQL, queste le caratteristiche :


Server: Localhost via UNIX socket
Tipo di server: MariaDB
Connessione Server: SSL inattivo Documentazione
Versione del server: 5.5.61-MariaDB - MariaDB Server
Versione protocollo: 10
Utente: root@localhost
Codifica caratteri del server: UTF-8 Unicode (utf8)

Apache/2.2.15 (CentOS)
Versione del client del database: libmysql - mysqlnd 5.0.11-dev - 20120503 - $Id: 76b08b24596e12d4553bd41fc93cccd5bac2fe7a $
Estensione PHP: mysqliDocumentazione curlDocumentazione mbstringDocumentazione
Versione PHP: 5.6.37

L'errore che ritorna è il seguente :

Analisi statica:

Sono stati trovati 1 errori durante l'analisi.

Espressione mancante. (near "ON" at position 25)

Query SQL: Modifica Modifica

SET FOREIGN_KEY_CHECKS = ON;

Messaggio di MySQL: Documentazione
#2006 - MySQL server has gone away


Warning in ./libraries/classes/Dbi/DbiMysqli.php#213
Error while sending QUERY packet. PID=28375

Mentre lato riga di comando : ERROR 2006 (HY000) at line 468: MySQL server has gone away

Non so più che pesci prendere.
Grazie mille in anticipo per il supporto

Pietro

Options: ReplyQuote


Subject
Views
Written By
Posted
#2006 - MySQL server has gone away
1409
September 12, 2018 04:27AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.