--- a/koha-remove +++ a/koha-remove @@ -66,9 +66,12 @@ do mysql_hostname="localhost" if [ "$keepmysql" != "1" ] then + # The grant creates the user in case it isn't, we don't want our loop to fail if it has already being deleted. mysql --defaults-extra-file=/etc/mysql/koha-common.cnf <