Merge lp:~mez/maria/fixscripts into lp:maria/5.3

Proposed by Martin Meredith
Status: Needs review
Proposed branch: lp:~mez/maria/fixscripts
Merge into: lp:maria/5.3
Diff against target: 14 lines (+4/-0)
1 file modified
scripts/mysql_fix_privilege_tables.sh (+4/-0)
To merge this branch: bzr merge lp:~mez/maria/fixscripts
Reviewer Review Type Date Requested Status
Maria-captains Pending
Review via email: mp+85624@code.launchpad.net

Description of the change

Small change made to the mysql_fix_privilege_tables script so that, if available, it uses Debian's debian-sys-maint user to fix things (using --defaults-file)

To post a comment you must log in.

Unmerged revisions

3350. By Martin Meredith

Add Check for debian defaults file to fix privileges script

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
=== modified file 'scripts/mysql_fix_privilege_tables.sh'
--- scripts/mysql_fix_privilege_tables.sh 2011-03-18 15:03:43 +0000
+++ scripts/mysql_fix_privilege_tables.sh 2011-12-14 10:29:30 +0000
@@ -141,6 +141,10 @@
141if test ! -z "$socket"; then141if test ! -z "$socket"; then
142 cmd="$cmd --socket=$socket"142 cmd="$cmd --socket=$socket"
143fi143fi
144if test -f /etc/mysql/debian.cnf; then
145 cmd="$cmd --defaults-file=/etc/mysql/debian.cnf"
146fi
147
144cmd="$cmd --database=$database"148cmd="$cmd --database=$database"
145149
146if test $sql_only = 1150if test $sql_only = 1

Subscribers

People subscribed via source and target branches