Turn off old_passwords in default my.cnf file.

This commit is contained in:
Tom Lane 2004-11-23 19:03:37 +00:00 committed by Michal Schorm
parent a30372b280
commit d317acda8a
2 changed files with 10 additions and 3 deletions

5
my.cnf
View File

@ -1,11 +1,14 @@
[mysqld] [mysqld]
datadir=/var/lib/mysql datadir=/var/lib/mysql
socket=/var/lib/mysql/mysql.sock socket=/var/lib/mysql/mysql.sock
# Default to using old password format for compatibility with mysql 3.x
# clients (those using the mysqlclient10 compatibility package).
old_passwords=1
[mysql.server] [mysql.server]
user=mysql user=mysql
basedir=/var/lib basedir=/var/lib
[safe_mysqld] [mysqld_safe]
err-log=/var/log/mysqld.log err-log=/var/log/mysqld.log
pid-file=/var/run/mysqld/mysqld.pid pid-file=/var/run/mysqld/mysqld.pid

View File

@ -1,6 +1,6 @@
Name: mysql Name: mysql
Version: 4.1.7 Version: 4.1.7
Release: 3 Release: 4
Source0: http://dev.mysql.com/get/Downloads/MySQL-4.1/mysql-%{version}.tar.gz Source0: http://dev.mysql.com/get/Downloads/MySQL-4.1/mysql-%{version}.tar.gz
Source1: mysql.init Source1: mysql.init
Source2: mysql.logrotate Source2: mysql.logrotate
@ -351,6 +351,10 @@ fi
%{_datadir}/sql-bench %{_datadir}/sql-bench
%changelog %changelog
* 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
with mysql 3.x clients (per suggestion from Joe Orton).
* Fri Oct 29 2004 Tom Lane <tgl@redhat.com> 4.1.7-3 * Fri Oct 29 2004 Tom Lane <tgl@redhat.com> 4.1.7-3
- Handle ldconfig more cleanly (put a file in /etc/ld.so.conf.d/). - Handle ldconfig more cleanly (put a file in /etc/ld.so.conf.d/).
@ -385,7 +389,7 @@ fi
- BR time - BR time
* Tue Mar 16 2004 Tom Lane <tgl@redhat.com> 3.23.58-8 * Tue Mar 16 2004 Tom Lane <tgl@redhat.com> 3.23.58-8
- repair logfile attributes in %files, per bug #102190 - repair logfile attributes in %%files, per bug #102190
- repair quoting problem in mysqlhotcopy, per bug #112693 - repair quoting problem in mysqlhotcopy, per bug #112693
- repair missing flush in mysql_setpermission, per bug #113960 - repair missing flush in mysql_setpermission, per bug #113960
- repair broken error message printf, per bug #115165 - repair broken error message printf, per bug #115165