Get error when install PrivacyIDEA

Pls Help, i instlling PrivacyIDEA and get error when command : “pi-manage createdb” .

error: sqlalchemy.exc.OperationalError: (_mysql_exceptions.OperationalError) (1045, “Access denied for user ‘privacyidea’@‘localhost’ (using password: YES)”)
I following this topic: https://www.privacyidea.org/two-factor-authentication-with-otp-on-centos-7/

anyone here can help, pls!

Hi,
this HowTo is quite outdated (as stated on the top). Please use https://privacyidea.readthedocs.io/en/latest/installation/centos.html
As the error states, the access to the MySQL Database is denied. Probably the username/password in the SQLALCHEMY_DATABASE_URI in pi.cfg is wrong.

Thank you so much, i fixed it

1 Like