Using mysql as database server