using mysql::params instead of config