Results 1 to 4 of 4
I installed MySQL on FedoraC5 and was following some simple instructions regarding PHP - MySQL setup.
What bothers me is this -
I ran:
/# find . -name mysqld -print
...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 06-24-2007 #1Just Joined!
- Join Date
- Jun 2007
- Posts
- 4
File Question
I installed MySQL on FedoraC5 and was following some simple instructions regarding PHP - MySQL setup.
What bothers me is this -
I ran:
/# find . -name mysqld -print
to get the result
./usr/libexec/mysqld
./var/run/mysqld
./var/lock/subsys/mysqld
./etc/rc.d/init.d/mysqld
Now for the love of god, can someone tell me what is the role of each mysqld file on each of those locations????? And why are there 4 locations in use for mysqld?
- 06-24-2007 #2
I wouldn't let it bother you too much.
- /usr/libexec/mysqld - Not sure, maybe the binary itself (although I would think that would be some place like /usr/bin or /usr/local/bin).
- /var/run/mysqld - Read man 7 hier for a description of /var/run.
- /var/lock/subsys/mysqld - Read man 7 hier for a description of /var/lock.
- /etc/rc.d/init.d/mysqld - Init script for mysqld.
- 06-24-2007 #3Just Joined!
- Join Date
- Jun 2007
- Posts
- 4
- 06-24-2007 #4
Weird.
Well, here are the entries from my CentOS box then:
/var/lock
Lock files are placed in this directory. The naming convention
for device lock files is LCK..<device> where <device> is the
device's name in the filesystem. The format used is that of
HDU UUCP lock files, i.e. lock files contain a PID as a 10-byte
ASCII decimal number, followed by a newline character./var/run
Run-time variable files, like files holding process identifiers
(PIDs) and logged user information (utmp). Files in this
directory are usually cleared when the system boots.


Reply With Quote

