Bind tenant data to database name, which allow using multi-tenancy database using multiple database connection.

Signed-off-by: crynobone <crynobone@gmail.com>