<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<p><tt>So, what you have is IPv6 localhost taking precedence over
IPv4 possibly....<br>
</tt></p>
<p><tt>Two ways to potentially resolve.</tt></p>
<p><tt>One is to edit your /etc/hosts file so localhost resolves to
IPv4 only</tt></p>
<p><tt>Another is to bind to both ::1 and 127.0.0.1 for the database
connection.<br>
</tt></p>
<p><tt>I would say the first option is probably the quick and easy
way.<br>
</tt></p>
<div class="moz-cite-prefix">On 8/23/20 3:14 PM, Paul Scott wrote:<br>
</div>
<blockquote type="cite"
cite="mid:BY5PR10MB43532DBC8F97430545D1C384B0590@BY5PR10MB4353.namprd10.prod.outlook.com">
<pre class="moz-quote-pre" wrap="">Hello Peter,
Thank you very much for your email!
I tried your suggestion, and this is what came back:
[root@fs9 MailWatch-1.2.10]# telnet localhost 3306
Trying ::1...
telnet: connect to address ::1: Connection refused
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
J
5.5.55;xm:wi*€]];O[Z57Rv!9mysql_native_passwordConnection closed by foreign host.
[root@fs9 MailWatch-1.2.10]#
So, I do get connected via the localhost address, BUT...if I try the server's actual IP address, this is what I get:
[root@fs9 MailWatch-1.2.10]# telnet 10.1.252.245 3306
Trying 10.1.252.245...
Connected to 10.1.252.245.
Escape character is '^]'.
THost 'edenusa-fs9.edenhosting.net' is not allowed to connect to this MySQL serverConnection closed by foreign host.
[root@fs9 MailWatch-1.2.10]#
So maybe that's the issue?
Sincerely,
Paul Scott
Engineer, Eden USA, Incorporated
866.501.3336 | 951.505.6967 | <a class="moz-txt-link-abbreviated" href="mailto:sales@edenusa.com">sales@edenusa.com</a>
<a class="moz-txt-link-freetext" href="https://www.edenusa.com">https://www.edenusa.com</a>
-----Original Message-----
From: MailScanner <a class="moz-txt-link-rfc2396E" href="mailto:mailscanner-bounces+sales=edenusa.com@lists.mailscanner.info"><mailscanner-bounces+sales=edenusa.com@lists.mailscanner.info></a> On Behalf Of Peter H. Lemieux
Sent: Sunday, August 23, 2020 11:37 AM
To: <a class="moz-txt-link-abbreviated" href="mailto:mailscanner@lists.mailscanner.info">mailscanner@lists.mailscanner.info</a>
Subject: Re: MailScanner Lint Error
What happens if you run "telnet localhost 3306"? Do you see
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
I don't use MailWatch, but does it connect to MySQL via a socket
(typically /var/lib/mysql/mysql.sock) or via TCP on port 3306?
Peter
On 8/23/20 2:15 PM, Paul Scott wrote:
</pre>
<blockquote type="cite">
<pre class="moz-quote-pre" wrap="">Error: Database connection failed: it is possible that the database is
overloaded or otherwise not running properly; contact the system
administrator if the problem persists (dbconnecterror99_plain)
</pre>
</blockquote>
<pre class="moz-quote-pre" wrap="">
</pre>
</blockquote>
<div class="moz-signature">-- <br>
<img src="http://mailserver.summitgrid.org/logo_text_sig.png"><br>
Shawn Iverson<br>
<a class="moz-txt-link-abbreviated" href="mailto:shawniverson@summitgrid.com">shawniverson@summitgrid.com</a><br>
</div>
</body>
</html>