Hi all,
Installed mysql on RHEL5 server and unable to find the
config file "my.cnf"
Tried in /etc, /usr, /opt, and /var but no luck.
Where else to look for. (find command returned no results)
Code:
# find /var /opt /usr /tmp -name my.cnf
find: Filesystem loop detected; `/opt/biohub/project/.snapshot' has the same device number and inode as a directory which is 1 level higher in the filesystem hierarchy.
find: Filesystem loop detected; `/opt/biohub/.snapshot/hourly.20' has the same device number and inode as a directory which is 1 level higher in the filesystem hierarchy.
Code:
[root@box ~]# ls -ltrh /etc/ |grep my.cnf
[root@box ~]# echo $?
1
[root@box ~]# ls -ltrh /etc/ |grep cnf
[root@box ~]# echo $?
1
[root@box ~]# ls -ltrh /etc/ |grep mysql
[root@box ~]# echo $?
1
[root@box ~]#
Code:
# mysql -V
mysql Ver 14.14 Distrib 5.5.22, for Linux (x86_64) using readline 5.1