You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
SQLSTATE[HY000]: General error: 1419 You do not have the SUPER privilege and binary logging is enabled (you *might* want to use the less safe log_bin_trust_function_creators variable)
I had to docker exec -it -u root partdb_database bash then run mysql -u root -p partdb and login as root then execute the SET GLOBAL log_bin_trust_function_creators = 1;
After that the migration worked, I hope it helps someone with the same error.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hi, I have installed Part-DB in docker with a mysql 8.0.38 database using this guide.
https://docs.part-db.de/installation/installation_docker.html#mysql
When updating from v0.12 to v0.13 the database schema migration fails.
SQLSTATE[HY000]: General error: 1419 You do not have the SUPER privilege and binary logging is enabled (you *might* want to use the less safe log_bin_trust_function_creators variable)
I had to
docker exec -it -u root partdb_database bash
then runmysql -u root -p partdb
and login as root then execute theSET GLOBAL log_bin_trust_function_creators = 1;
After that the migration worked, I hope it helps someone with the same error.
docker exec --user=www-data partdb php bin/console doctrine:migrations:migrate
docker exec --user=www-data partdb php bin/console doctrine:migrations:up-to-date
Beta Was this translation helpful? Give feedback.
All reactions