LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 06-20-2016, 01:05 PM   #1
AdultFoundry
Member
 
Registered: Jun 2015
Posts: 272

Rep: Reputation: Disabled
MariaDB: ERROR 2006 (HY000) at line 1501: MySQL server has gone away


I've imported two Wordpress databases to a system (CentOS7), and I did not have any problems.

When I try to import an .sql file (obtained with mysqldump command) for a vBulleting forum (the newest version) I get something like this:

Code:
 
ERROR 2006 (HY000) at line 1501: MySQL server has gone away
I added max_allowed_packet=16M to /etc/my.cnf and restared the MariaDB, but this did not make any difference. I was also looking at the entries in /var/log/mariadb/mariadb.log, but there is no info there about this problem.

How would I figure out what may be going on and fix it?

Thanks.
 
Old 06-20-2016, 01:56 PM   #2
AdultFoundry
Member
 
Registered: Jun 2015
Posts: 272

Original Poster
Rep: Reputation: Disabled
max_allowed_packet was the actual issue, I added this correctly and it worked.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
ERROR 2002 (HY000): Can't connect to local MySQL server through socket tiroloz Linux - Software 4 05-05-2012 10:15 AM
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/my.. Goce Linux - Server 3 11-30-2008 10:57 PM
Yet another mysql ERROR 2003 (HY000): Can't connect to MySQL server on REMOTE_HOST ( dan.mk Linux - Networking 2 05-09-2008 01:43 PM
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/tmp/mysql.so amee_stars Linux - Newbie 2 01-22-2007 03:48 AM
ERROR 1290 (HY000): The MySQL server is running with the --skip-grant-tables option s Braynid Linux - Newbie 1 06-08-2006 09:14 PM


All times are GMT -5. The time now is 11:29 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration