add a [mysql] block to our my.cnf that contains the database= settings

so that mysqldump and other utilities using this file don't get a
warning.

Note that we do not convert existing configuration so that
milestone:0.9.8 installs will have to be manually patched to remove
the warning on mysqldump.

See #1127 and ["Errata_0.9.8"].
This commit is contained in:
Antoine Beaupré 2008-04-24 15:24:41 +00:00
parent 099ac1f32f
commit 30057bba56
1 changed files with 3 additions and 0 deletions

View File

@ -107,6 +107,9 @@ else
# Automatically generated by AlternC configuration, do not edit
# This file will be modified on package configuration
# (e.g. upgrade or dpkg-reconfigure alternc)
[mysql]
database=
[client]
EOF
chown root:www-data $MYSQL_CONFIG