Ticket #1127 (closed defect: fixed)

Opened 5 years ago

Last modified 5 years ago

sql backups broken

Reported by: anarcat Owned by: anonymous
Priority: block Milestone: alternc-0.9.9
Component: Shell-scripts et binaires Version: alternc-0.9.8
Severity: crash Keywords:
Cc:

Description

The update to the way alternc talks to mysql broke the mysql backups because the sqlbackup.sh scripts takes the database from the .cnf file instead of using the one from the database.

Change History

comment:1 Changed 5 years ago by anarcat

  • Status changed from new to closed
  • Resolution set to fixed

(In [2167]) Properly specify the database to backup in the mysql dump script by reverting a tiny part of [2117].

Closes: #1127

comment:2 Changed 5 years ago by anarcat

(In [2168]) 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.

Note: See TracTickets for help on using tickets.