View | Details | Raw Unified | Return to bug 22128
Collapse All | Expand All

(-)a/debian/scripts/koha-remove (-2 lines)
Lines 65-71 do Link Here
65
    mysql_hostname="localhost"
65
    mysql_hostname="localhost"
66
    if [ "$keepmysql" != "1" ]
66
    if [ "$keepmysql" != "1" ]
67
    then
67
    then
68
    # The grant creates the user in case it isn't, we don't want our loop to fail if it has already being deleted.
69
    mysql --defaults-extra-file=/etc/mysql/koha-common.cnf <<eof
68
    mysql --defaults-extra-file=/etc/mysql/koha-common.cnf <<eof
70
DROP USER IF EXISTS \`koha_$name\`@\`%\`;
69
DROP USER IF EXISTS \`koha_$name\`@\`%\`;
71
DROP USER IF EXISTS \`koha_$name\`@\`$mysql_hostname\`;
70
DROP USER IF EXISTS \`koha_$name\`@\`$mysql_hostname\`;
72
- 

Return to bug 22128