Mysql Configurations

I have created a node project and test is based on checking the localhost mysql db in ubuntu .How to configure the db in circle ci?