<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="Generator" content="Microsoft Word 14 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
p
        {mso-style-priority:99;
        mso-margin-top-alt:auto;
        margin-right:0in;
        mso-margin-bottom-alt:auto;
        margin-left:0in;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
p.MsoAcetate, li.MsoAcetate, div.MsoAcetate
        {mso-style-priority:99;
        mso-style-link:"Balloon Text Char";
        margin:0in;
        margin-bottom:.0001pt;
        font-size:8.0pt;
        font-family:"Tahoma","sans-serif";}
span.BalloonTextChar
        {mso-style-name:"Balloon Text Char";
        mso-style-priority:99;
        mso-style-link:"Balloon Text";
        font-family:"Tahoma","sans-serif";}
span.EmailStyle20
        {mso-style-type:personal;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
span.EmailStyle21
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="EN-US"><div>OK. Found the problem. There had been an update quite some time back. Once I reran mysql_secure_installation again it started working correctly.</div><div><br></div><div>Maybe it's just me but I'm NOT amused that a mandatory security update to mysql-server unsecured the system silently and did not mention anything about needing to resecure the database access after the update. It allowed localhost anonymous access and reinstated the test database.</div><div><br></div><div>On Tue, 2017-09-12 at 14:01 +0000, Lightner, Jeffrey wrote:</div><blockquote type="cite" style="margin:0 0 0 .8ex; border-left:2px #729fcf solid;padding-left:1ex">
<div class="WordSection1">
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">I came to office today even though we’re also closed and my home internet is working.&nbsp; &nbsp;It’s only a couple of miles for me and it seems this part of Cobb County
 was spared the worst of Irma.&nbsp;&nbsp; However, they’re still predicting flooding for Austell.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span></p>
<div>
<div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in">
<p class="MsoNormal"><b><span style="font-size:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;">From:</span></b><span style="font-size:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;"> Jim Kinney [mailto:jim.kinney@gmail.com]
<br>
<b>Sent:</b> Tuesday, September 12, 2017 9:57 AM<br>
<b>To:</b> Atlanta Linux Enthusiasts; Lightner, Jeffrey<br>
<b>Subject:</b> Re: [ale] Mysql connection fail<o:p></o:p></span></p>
</div>
</div>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
<p class="MsoNormal" style="margin-bottom:12.0pt">I'm going in to work :-) Emory U is closed so network should be decent.
<o:p></o:p></p>
<div>
<p class="MsoNormal">On September 12, 2017 9:51:07 AM EDT, "Lightner, Jeffrey" &lt;<a href="mailto:JLightner@dsservices.com">JLightner@dsservices.com</a>&gt; wrote:<o:p></o:p></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">Do you have a phone that allows you to tether or serve as a wi-fi hotspot?&nbsp;&nbsp; Not as fast as other solutions but great in a pinch.<o:p></o:p></span></p>
<p><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">&nbsp;<o:p></o:p></span></p>
<p><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">&nbsp;<o:p></o:p></span></p>
<div>
<div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in">
<p class="MsoNormal"><b><span style="font-size:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;">From:</span></b><span style="font-size:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;">
</span><a href="mailto:ale-bounces@ale.org"><span style="font-size:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;">ale-bounces@ale.org</span></a><span style="font-size:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;"> [</span><a href="mailto:ale-bounces@ale.org"><span style="font-size:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;">mailto:ale-bounces@ale.org</span></a><span style="font-size:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;">]
<b>On Behalf Of </b>Jim Kinney<br>
<b>Sent:</b> Tuesday, September 12, 2017 9:42 AM<br>
<b>To:</b> Atlanta Linux Enthusiasts; Chuck Payne<br>
<b>Subject:</b> Re: [ale] Mysql connection fail<o:p></o:p></span></p>
</div>
</div>
<p>&nbsp;<o:p></o:p></p>
<p class="MsoNormal" style="margin-bottom:12.0pt">I need to go find internet. Can't test anything. Starting to twitch. Might pass out soon. Working off phone is poor substitute.<o:p></o:p></p>
<div>
<p class="MsoNormal">On September 12, 2017 9:29:18 AM EDT, Chuck Payne &lt;<a href="mailto:terrorpup@gmail.com">terrorpup@gmail.com</a>&gt; wrote:<o:p></o:p></p>
<div>
<p class="MsoNormal">Jim,&nbsp;<o:p></o:p></p>
<div>
<p>&nbsp;<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">Ok, I have to ask since you are using CentOS/Fedora, is SELinux running, is there a run to protect mysql.&nbsp;<br>
<br>
You are trying to log on like this...<br>
<br>
mysql&nbsp;-u user -ppassword<o:p></o:p></p>
</div>
<div>
<p>&nbsp;<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">I had an issue where I update MariaDB and I didn't run update database, so when I logged into my db, I ccouldn't see mysql&nbsp;database and other databases, but info and test. I had to stop mysql, &nbsp;and start in safe mode, then run mysql_update.
 Once I did that and started mysql&nbsp;normal, I was able to see the databases.&nbsp;<o:p></o:p></p>
</div>
<div>
<p>&nbsp;<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">So, try stopping then start in safe mode to see if you can log in that way.&nbsp;<o:p></o:p></p>
</div>
<div>
<p>&nbsp;<o:p></o:p></p>
</div>
</div>
<div>
<p>&nbsp;<o:p></o:p></p>
<div>
<p class="MsoNormal">On Tue, Sep 12, 2017 at 9:16 AM, Beddingfield, Allen &lt;<a href="mailto:allen@ua.edu" target="_blank">allen@ua.edu</a>&gt; wrote:<o:p></o:p></p>
<p class="MsoNormal">What does your mysql.user table look like?&nbsp; I've found that "grant all privileges on dbname.* to 'user'@'localhost' identified by 'password'" is not equal to "grant all privileges on dbname.* to 'user'@'127.0.0.1' identified by 'password".<br>
<br>
If all else fails, create a new 'user'@'%'<br>
<br>
--<br>
Allen Beddingfield<br>
Systems Engineer<br>
Office of Information Technology<br>
The University of Alabama<br>
Office <a href="tel:205-348-2251">205-348-2251</a><br>
<a href="mailto:allen@ua.edu">allen@ua.edu</a><br>
<br>
On 9/12/17, 8:08 AM, "<a href="mailto:ale-bounces@ale.org">ale-bounces@ale.org</a> on behalf of Jim Kinney" &lt;<a href="mailto:ale-bounces@ale.org">ale-bounces@ale.org</a> on behalf of
<a href="mailto:jim.kinney@gmail.com">jim.kinney@gmail.com</a>&gt; wrote:<br>
<br>
<br>
<br>
<br>
&nbsp; &nbsp; It's all on one host. Can't cli as wordpress access from the only host mysql has ever known.<br>
<br>
&nbsp; &nbsp; One other account can get in but it seems to be just a dumb user account with ability to adjust permission.<br>
<br>
&nbsp; &nbsp; Google was not helpful. Related fails discussed /etc/hosts entries (methodically test all combos of localhost,<br>
&nbsp; &nbsp; 127.0.0.1 &lt;<a href="http://127.0.0.1" target="_blank">http://127.0.0.1</a>&gt;, the host IP, host fqdm, short name) but that seems to have no impact.<br>
<br>
&nbsp; &nbsp; On September 12, 2017 8:50:57 AM EDT, Leam Hall &lt;<a href="mailto:leamhall@gmail.com">leamhall@gmail.com</a>&gt; wrote:<br>
<br>
&nbsp; &nbsp; On 09/12/2017 08:32 AM, Jim Kinney wrote:<br>
<br>
&nbsp; &nbsp; &nbsp;This was bugging me (until internet went out late yesterday).<br>
<br>
&nbsp; &nbsp; &nbsp;I can't connect to a mysql database from cli. The wordpress user can<br>
&nbsp; &nbsp; &nbsp;from wordpress. But even as the wordpress user with proper credentials,<br>
&nbsp; &nbsp; &nbsp;no cli access. Errors out with a user @localhost credential failed/not<br>
&nbsp; &nbsp; &nbsp;allowed.<br>
<br>
&nbsp; &nbsp; &nbsp;That kind of horks a mysqldump.<br>
<br>
&nbsp; &nbsp; &nbsp;Tried ip, hostname, access by root (that also fails - WTF!) all with<br>
&nbsp; &nbsp; &nbsp;same error. Yet wordpress just chugs along.<br>
<br>
&nbsp; &nbsp; &nbsp;Ideas?<br>
<br>
<br>
<br>
<br>
&nbsp; &nbsp; I'm not an expert, but the database permissions might specify a remote<br>
&nbsp; &nbsp; host but not a local one. Also, selinux or iptables restricting<br>
&nbsp; &nbsp; 127.0.0.1 &lt;<a href="http://127.0.0.1" target="_blank">http://127.0.0.1</a>&gt; might impact things.<br>
<br>
&nbsp; &nbsp; Can you cli as wordpress from the wordpress host?<br>
&nbsp; &nbsp; ________________________________________<br>
<br>
&nbsp; &nbsp; Ale mailing list<br>
&nbsp; &nbsp; <a href="mailto:Ale@ale.org">Ale@ale.org</a><br>
&nbsp; &nbsp; <a href="http://mail.ale.org/mailman/listinfo/ale" target="_blank">http://mail.ale.org/mailman/listinfo/ale</a><br>
&nbsp; &nbsp; See JOBS, ANNOUNCE and SCHOOLS lists at<br>
&nbsp; &nbsp; <a href="http://mail.ale.org/mailman/listinfo" target="_blank">http://mail.ale.org/mailman/listinfo</a><br>
<br>
<br>
<br>
<br>
&nbsp; &nbsp; --<br>
&nbsp; &nbsp; Sent from my Android device with K-9 Mail. All tyopes are thumb related and reflect authenticity.<br>
<br>
<br>
<br>
<br>
<br>
_______________________________________________<o:p></o:p></p>
<div>
<div>
<p class="MsoNormal">Ale mailing list<br>
<a href="mailto:Ale@ale.org">Ale@ale.org</a><br>
<a href="http://mail.ale.org/mailman/listinfo/ale" target="_blank">http://mail.ale.org/mailman/listinfo/ale</a><br>
See JOBS, ANNOUNCE and SCHOOLS lists at<br>
<a href="http://mail.ale.org/mailman/listinfo" target="_blank">http://mail.ale.org/mailman/listinfo</a><o:p></o:p></p>
</div>
</div>
</div>
<p class="MsoNormal"><br>
<br clear="all">
<o:p></o:p></p>
<div>
<p>&nbsp;<o:p></o:p></p>
</div>
<p class="MsoNormal">-- <o:p></o:p></p>
<div>
<div>
<p class="MsoNormal">Terror PUP a.k.a<br>
Chuck "PUP" Payne<br>
-----------------------------------------<br>
Discover it! Enjoy it! Share it! openSUSE Linux.<br>
-----------------------------------------<br>
openSUSE -- Terrorpup<br>
openSUSE Ambassador/openSUSE Member<br>
skype,twiiter,identica,friendfeed -- terrorpup<br>
freenode(irc) --terrorpup/lupinstein<br>
Register Linux Userid: 155363<br>
&nbsp;<br>
Have you tried SUSE Studio? Need to create a Live CD, &nbsp;an app you want to package and distribute , or create your own linux distro. Give SUSE Studio a try.<o:p></o:p></p>
</div>
</div>
</div>
</div>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
</div>
<p class="MsoNormal"><br>
</p><pre>_______________________________________________
Ale mailing list
<a href="mailto:Ale@ale.org">Ale@ale.org</a>
<a href="http://mail.ale.org/mailman/listinfo/ale">http://mail.ale.org/mailman/listinfo/ale</a>
See JOBS, ANNOUNCE and SCHOOLS lists at
<a href="http://mail.ale.org/mailman/listinfo">http://mail.ale.org/mailman/listinfo</a>
</pre></div></blockquote></body></html>