<html><head></head><body>I need to go find internet. Can't test anything. Starting to twitch. Might pass out soon. Working off phone is poor substitute.<br><br><div class="gmail_quote">On September 12, 2017 9:29:18 AM EDT, Chuck Payne <terrorpup@gmail.com> wrote:<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<div dir="ltr">Jim, <div><br /></div><div>Ok, I have to ask since you are using CentOS/Fedora, is SELinux running, is there a run to protect mysql. <br /><br />You are trying to log on like this...<br /><br />mysql -u user -ppassword</div><div><br /></div><div>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 database and other databases, but info and test. I had to stop mysql, and start in safe mode, then run mysql_update. Once I did that and started mysql normal, I was able to see the databases. </div><div><br /></div><div>So, try stopping then start in safe mode to see if you can log in that way. </div><div><br /></div></div><div class="gmail_extra"><br /><div class="gmail_quote">On Tue, Sep 12, 2017 at 9:16 AM, Beddingfield, Allen <span dir="ltr"><<a href="mailto:allen@ua.edu" target="_blank">allen@ua.edu</a>></span> wrote:<br /><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">What does your mysql.user table look like? 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" value="+12053482251">205-348-2251</a><br />
<a href="mailto:allen@ua.edu">allen@ua.edu</a><br />
<span class=""><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" <<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>> wrote:<br />
<br />
<br />
<br />
<br />
It's all on one host. Can't cli as wordpress access from the only host mysql has ever known.<br />
<br />
One other account can get in but it seems to be just a dumb user account with ability to adjust permission.<br />
<br />
Google was not helpful. Related fails discussed /etc/hosts entries (methodically test all combos of localhost,<br />
</span> 127.0.0.1 <<a href="http://127.0.0.1" rel="noreferrer" target="_blank">http://127.0.0.1</a>>, the host IP, host fqdm, short name) but that seems to have no impact.<br />
<span class=""><br />
On September 12, 2017 8:50:57 AM EDT, Leam Hall <<a href="mailto:leamhall@gmail.com">leamhall@gmail.com</a>> wrote:<br />
<br />
On 09/12/2017 08:32 AM, Jim Kinney wrote:<br />
<br />
This was bugging me (until internet went out late yesterday).<br />
<br />
I can't connect to a mysql database from cli. The wordpress user can<br />
from wordpress. But even as the wordpress user with proper credentials,<br />
no cli access. Errors out with a user @localhost credential failed/not<br />
allowed.<br />
<br />
That kind of horks a mysqldump.<br />
<br />
Tried ip, hostname, access by root (that also fails - WTF!) all with<br />
same error. Yet wordpress just chugs along.<br />
<br />
Ideas?<br />
<br />
<br />
<br />
<br />
I'm not an expert, but the database permissions might specify a remote<br />
host but not a local one. Also, selinux or iptables restricting<br />
</span> 127.0.0.1 <<a href="http://127.0.0.1" rel="noreferrer" target="_blank">http://127.0.0.1</a>> might impact things.<br />
<span class=""><br />
Can you cli as wordpress from the wordpress host?<br />
</span> ______________________________<wbr />__________<br />
<span class=""><br />
Ale mailing list<br />
<a href="mailto:Ale@ale.org">Ale@ale.org</a><br />
<a href="http://mail.ale.org/mailman/listinfo/ale" rel="noreferrer" target="_blank">http://mail.ale.org/mailman/<wbr />listinfo/ale</a><br />
See JOBS, ANNOUNCE and SCHOOLS lists at<br />
<a href="http://mail.ale.org/mailman/listinfo" rel="noreferrer" target="_blank">http://mail.ale.org/mailman/<wbr />listinfo</a><br />
<br />
<br />
<br />
<br />
--<br />
Sent from my Android device with K-9 Mail. All tyopes are thumb related and reflect authenticity.<br />
<br />
<br />
<br />
<br />
<br />
</span>______________________________<wbr />_________________<br />
<div class="HOEnZb"><div class="h5">Ale mailing list<br />
<a href="mailto:Ale@ale.org">Ale@ale.org</a><br />
<a href="http://mail.ale.org/mailman/listinfo/ale" rel="noreferrer" target="_blank">http://mail.ale.org/mailman/<wbr />listinfo/ale</a><br />
See JOBS, ANNOUNCE and SCHOOLS lists at<br />
<a href="http://mail.ale.org/mailman/listinfo" rel="noreferrer" target="_blank">http://mail.ale.org/mailman/<wbr />listinfo</a><br />
</div></div></blockquote></div><br /><br clear="all" /><div><br /></div>-- <br /><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr">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 /> <br />Have you tried SUSE Studio? Need to create a Live CD, an app you want to package and distribute , or create your own linux distro. Give SUSE Studio a try.</div></div>
</div>
</blockquote></div><br>
-- <br>
Sent from my Android device with K-9 Mail. All tyopes are thumb related and reflect authenticity.</body></html>