/etc/cinder_tempest_plugin/cinder_tempest_plugin.conf
In the [database] section, configure database access:
[database]
[database] ... connection = mysql+pymysql://cinder_tempest_plugin:CINDER_TEMPEST_PLUGIN_DBPASS@controller/cinder_tempest_plugin