Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"There is no active transaction" error with pdo and mariadb #11

Closed
frenchcomp opened this issue Dec 20, 2022 · 0 comments · Fixed by #12
Closed

"There is no active transaction" error with pdo and mariadb #11

frenchcomp opened this issue Dec 20, 2022 · 0 comments · Fixed by #12

Comments

@frenchcomp
Copy link
Contributor

Sone DBMS does not support DDL statements in a transaction (like Mariadb).
Since PHP 8.0, and error is directly was thrown by PDO in this case : doctrine/migrations#1202

Badly, dbal:schema'update run migration in a transaction

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant