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