Re: cannot connect from mysql client nor PHP, only sudo

From: Jerry Stuckle <jstucklex_at_attglobal.net>
Date: Sun, 12 Feb 2017 11:02:32 -0500
Message-ID: <o7q0r7$cm9$1_at_jstuckle.eternal-september.org>


On 2/12/2017 2:10 AM, Jivanmukta wrote:
> I installed new PHP (5.6).
> I found no my.ini file. I found mysql.cnf:
> /etc/mysql/mysql.cnf
> /etc/mysql/conf.d/mysql.cnf
> I have mysql root password.

Sorry, you're on Linux so I got the filename wrong.

[Quoted] Now the question here is - you have two configuration files. What are the permissions on both files? Is one readable by root and not the other? And what are the contents of the files - what is different about them?

-- 
==================
Remove the "x" from my email address
Jerry Stuckle
jstucklex_at_attglobal.net
==================
Received on Sun Feb 12 2017 - 17:02:32 CET

Original text of this message