repair Can't create database 'test'

from Travis-CI log
ERROR 1007 (HY000) at line 1: Can't create database 'test'; database exists