Re: MySQL Log file access permission denied
Posted by:
Ananda M
Date: July 23, 2020 03:46AM
Thanks for reply
mysql> show variables like 'Log_error';
Log_error = /var/log/mysqld.log
I can able to read error log file in as below command
#cd /etc/
[root@centvm1 etc]# cat /var/log/mysqld.log
cd /root
[root@centvm1 ~]# cat /var/log/mysqld.log
I can't able to read in root directory
[root@centvm1 ~]# /var/log/mysqld.log
-bash: /var/log/mysqld.log: Permission denied
Thanks
Subject
Written By
Posted
Re: MySQL Log file access permission denied
July 23, 2020 03:46AM
Sorry, you can't reply to this topic. It has been closed.
Content reproduced on this site is the property of the respective copyright holders.
It is not reviewed in advance by Oracle and does not necessarily represent the opinion
of Oracle or any other party.