Allow configure DB from Config
Allow configure DB from Config

* Add NewWithDB method

* Adjust the config

* Update mysql.go

Co-authored-by: Jinzhu <307a349be1d0677b38663c97b9fbe437546634db@gmail.com>
go-gorm/mysql