Table 'pi.config' doesn't exist"

vi /opt/privacyidea/pi.cfg

SQLALCHEMY_DATABASE_URI = ‘mysql+pymysql://pi:s…5@localhost/pi’

then :

pi-manage createdb

the database has still no tables.

When i am running apache i know for sure that " /opt/privacyidea/pi.cfg " is read because when i tune parameters like PI_LOGFILE i can see the effect, but i am not sure about the “pi-manage” maybe it does not take my pi.cfg into account.

Regards