mysql configuration file
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 Code:
[root@box ~]# ls -ltrh /etc/ |grep my.cnf Code:
# mysql -V |
How did you install it? If you installed from RPM then you should surely have a decent default there, but if you built it from source then that' would explain why there would be none. In that case there should be a default within the original source for you to modify.
|
Hi
I installed RPMs but somehow couldn't find the config file. Code:
rpm -ivh MySQL-server-5.5.22-1.linux2.6.x86_64.rpm MySQL-client-5.5.22-1.linux2.6.x86_64.rpm |
Ah, OK those aren't distro specific ones. Any reason installing via yum wasn't your preferred option? I presume if you do a "rpm -ql MySQL-server" you'll see it in there somewhere.
|
All times are GMT -5. The time now is 02:04 AM. |