Fix for bug#18516 (also #19353, reported for 5.1):
unknown authored
In addition to include "mysql_upgrade" in a RPM, it should also be called
when the RPM is upgraded.


support-files/mysql.server.sh:
  Support getting additional arguments, which need to be passed on to the server.
  This works only if the server is started through "mysqld_safe", as the IM will not pass such arguments.
  So if the IM would be used, additional arguments cause the start to fail (voluntarily).
  
  This feature is needed so that tools like RPM can start the server in an "isolated" way,
  see the patch to the RPM spec file (also in this changeset) to call "mysql_upgrade".
support-files/mysql.spec.sh:
  Call "mysql_upgrade" during an RPM upgrade.
  
  "mysql_upgrade" needs a server to run, as it issues SQL commands.
  (This had been neglected previously.)
  It also needs to connect as "root", but in an RPM upgrade the password is unknown.
  To allow this, the server is started "--skip-grant-tables".
  Normally, this would open big security holes, so it is also started "--skip-networking",
  and access to the socket is limited to "mysql" + "root" by temporarily setting mode 700.
99740b3f
Name Last commit Last update
BUILD Merge mysql.com:/Users/kent/mysql/bk/mysql-4.1-new
BitKeeper pekka:get - push push push
Docs Merge mysql.com:/home/tomash/src/mysql_ab/tmp_merge
SSL Remove client-req-pem and server-req.pem
VC++Files Merge rurik.mysql.com:/home/igor/tmp_merge
bdb BUG#15734: Fix undefined awk behaviour breaking compilation on Debian.
client Merge mysql.com:/users/lthalmann/bkroot/mysql-5.0-rpl
cmd-line-utils Merge neptunus.(none):/home/msvensson/mysql/bug16557/my50-bug16557
config/ac-macros Bug#19575 MySQL-shared-5.0.21-0.glibc23 causes segfault in SSL_library_init
dbug Fix two Valgrind memory leak warnings.
extra Bug#19191 Repeated crashes on OpenBSD for ssl test cases
heap Merge april.(none):/home/svoj/devel/mysql/BUG12873/mysql-5.0
include Merge april:devel/BitKeeper/mysql-5.0-engines
innobase Applied innodb-5.0-ss609 snapshot.
libmysql Bug#19575 MySQL-shared-5.0.21-0.glibc23 causes segfault in SSL_library_init
libmysql_r Bug#19575 MySQL-shared-5.0.21-0.glibc23 causes segfault in SSL_library_init
libmysqld Bug#19575 MySQL-shared-5.0.21-0.glibc23 causes segfault in SSL_library_init
man - Removed obsolete and outdated man page files from the man
myisam Bug#19604 - CHECK TABLE with concurrent INSERT can reset auto_increment
myisammrg BUG#17314: Can't use index_merge/intersection for MERGE tables
mysql-test Merge mysql.com:/users/lthalmann/bkroot/mysql-5.0
mysys Merge anna@bk-internal.mysql.com:/home/bk/mysql-5.0
ndb Merge mysql.com:/home/stewart/Documents/MySQL/5.0/main
netware Merge
os2 Merge
pstack
regex
scripts
server-tools
sql-bench
sql-common
sql
strings
support-files
tests
tools
vio
zlib
.bzrignore
.cvsignore
COPYING
Makefile.am
README
configure.in
This is a release of MySQL, a dual-license SQL database server.
MySQL is brought to you by the MySQL team at MySQL AB.

License information can be found in these files:
- For GPL (free) distributions, see the COPYING file.
- For commercial distributions, see the MySQLEULA.txt file.


For further information about MySQL or additional documentation, see:
- The latest information about MySQL: http://www.mysql.com
- The current MySQL documentation: http://dev.mysql.com/doc

Some manual sections of special interest:

- If you are migrating from an older version of MySQL, please read the
  "Upgrading from..." section first!
- To see what MySQL can do, take a look at the features section.
- For installation instructions, see the Installation chapter.
- For future plans, see the TODO appendix.
- For the new features/bugfix history, see the News appendix.
- For the currently known bugs/misfeatures (known errors) see the problems
  appendix.
- For a list of developers and other contributors, see the Credits
  appendix.

A local copy of the MySQL Reference Manual can be found in the Docs
directory in GNU Info format.  You can also browse the manual online or
download it in any of several formats at the URL given earlier in this
file.

************************************************************

IMPORTANT:

Bug or error reports should be sent to http://bugs.mysql.com.