Fix for bz#143724.
This commit is contained in:
parent
0cf72a514c
commit
942607bce9
@ -67,7 +67,10 @@ start(){
|
||||
fi
|
||||
chown -R mysql:mysql "$datadir"
|
||||
chmod 0755 "$datadir"
|
||||
/usr/bin/mysqld_safe --defaults-file=/etc/my.cnf >/dev/null 2>&1 &
|
||||
# The reason for explicitly specifying --pid-file is that there may
|
||||
# be no such entry in my.cnf, and the default behavior will be to not
|
||||
# create it at all...
|
||||
/usr/bin/mysqld_safe --defaults-file=/etc/my.cnf --pid-file="$mypidfile" >/dev/null 2>&1 &
|
||||
ret=$?
|
||||
# Spin for a maximum of N seconds waiting for the server to come up.
|
||||
# Rather than assuming we know a valid username, accept an "access
|
||||
|
@ -1,6 +1,6 @@
|
||||
Name: mysql
|
||||
Version: 4.1.7
|
||||
Release: 9
|
||||
Release: 10
|
||||
Source0: http://dev.mysql.com/get/Downloads/MySQL-4.1/mysql-%{version}.tar.gz
|
||||
Source1: mysql.init
|
||||
Source2: mysql.logrotate
|
||||
@ -357,6 +357,9 @@ fi
|
||||
%{_datadir}/sql-bench
|
||||
|
||||
%changelog
|
||||
* Wed Jan 12 2005 Tom Lane <tgl@redhat.com> 4.1.7-10
|
||||
- Don't assume /etc/my.cnf will specify pid-file (bz#143724)
|
||||
|
||||
* Wed Jan 12 2005 Tim Waugh <twaugh@redhat.com> 4.1.7-9
|
||||
- Rebuilt for new readline.
|
||||
|
||||
@ -372,7 +375,7 @@ fi
|
||||
- Enable SSL (bz#142032)
|
||||
|
||||
* Thu Dec 2 2004 Tom Lane <tgl@redhat.com> 4.1.7-5
|
||||
- Add a restorecon to keep the mysql.log file in the right context
|
||||
- Add a restorecon to keep the mysql.log file in the right context (bz#143887)
|
||||
|
||||
* Tue Nov 23 2004 Tom Lane <tgl@redhat.com> 4.1.7-4
|
||||
- Turn off old_passwords in default /etc/my.cnf file, for better compatibility
|
||||
|
Loading…
Reference in New Issue
Block a user