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

From: Jivanmukta <jivanmukta_at_poczta.onet.pl>
Date: Mon, 20 Feb 2017 11:19:18 +0100
Message-ID: <o8efr6$129$1_at_news.icm.edu.pl>


[Quoted] On 12.02.2017 17:02, Jerry Stuckle wrote:
> 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?

[Quoted] /etc/mysql/mysql.cnf includes /etc/mysql/conf.d/mysql.cnf

$ ls -la /etc/mysql.cnf
-rw-r--r-- 1 root root 682 lip 11  2016 /etc/mysql/mysql.cnf
$ ls -la /etc/mysql/conf.d/mysql.cnf
-rw-r--r-- 1 root root 8 lip 14  2016 /etc/mysql/conf.d/mysql.cnf

Is it a problem that these files have only root permissions? I installed mysql by command: sudo apt-get install mysql... Received on Mon Feb 20 2017 - 11:19:18 CET

Original text of this message