LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 09-23-2020, 02:39 AM   #1
rahulvishwakarma
Member
 
Registered: Aug 2010
Posts: 138

Rep: Reputation: 2
Lost connection to MySQL server at 'reading initial communication packet', system error: 104


hi to all, I've centos 6 as mysqlserver and centos7 as client in VMs. when i tried to connect to server it show

following error :
Code:
Lost connection to MySQL server at 'reading initial communication packet', system error: 104
but from other hosts like centos67client i can easily connect to mysql server.
how to get rid of this error.
 
Old 09-23-2020, 08:48 PM   #2
berndbausch
LQ Addict
 
Registered: Nov 2013
Location: Tokyo
Distribution: Mostly Ubuntu and Centos
Posts: 6,316

Rep: Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002
Here is a bug matching your description: https://bugs.mysql.com/bug.php?id=80260. It's old, but so is your Centos 6 server.

A search for "system error: 104" yields more results. You need to find out which result fits your configuration.
 
Old 09-24-2020, 09:19 AM   #3
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,636

Rep: Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965
Quote:
Originally Posted by rahulvishwakarma View Post
hi to all, I've centos 6 as mysqlserver and centos7 as client in VMs. when i tried to connect to server it show following error :
Code:
Lost connection to MySQL server at 'reading initial communication packet', system error: 104
but from other hosts like centos67client i can easily connect to mysql server. how to get rid of this error.
Read the "Question Guidelines", and do basic research before posting. An administrator with ten years experience should easily be able to at least do some research on their own.

This error is found in the MySQL documentation, which you can read on their website, and indicates a routing/network error of some sort. Since you provide no details at all about your network, we can't help you further. Probably related to your other (several) network-related threads:
https://www.linuxquestions.org/quest...er-4175664546/
 
  


Reply



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
Postfix: status=deferred (lost connection while receiving the initial server greeting) aspinos Linux - Software 0 05-21-2016 06:50 PM
Postfix failure: status=deferred (lost connection...while receiving the initial server greeting) labby Linux - Newbie 1 03-27-2016 12:54 PM
MySQL Server Linux, CentOS VPS - Lost connection to MySQL server during query snooze1 Linux - Newbie 3 10-29-2011 03:01 AM
Lost connection to MySQL server at 'reading initial communication packet', system err manishsingh4k Linux - Server 8 07-20-2009 07:31 AM
Lost connection to MySQL server at reading.... jonaskellens Linux - Server 9 06-18-2009 07:07 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 09:04 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
Open Source Consulting | Domain Registration