fixed test mysql code by adding database