apply database mysql

config connection with mysql database