mirror of
https://github.com/doctrine/orm.git
synced 2026-03-24 06:52:09 +01:00
MariaDB : Column not found: 1054 Unknown column 'x.TABLE_NAME' in 'on clause' #7231
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @jeremyrncp on GitHub (Oct 16, 2023).
Bug Report
MariaDB : Column not found: 1054 Unknown column 'x.TABLE_NAME' in 'on clause'
Summary
When running bin/console doctrine:schema:validate, i have an error SQLSTATE[42S22]: Column not found: 1054 Unknown column 'x.TABLE_NAME' in 'on claus e'
Current behavior
How to reproduce
Expected behavior
@jeremyrncp commented on GitHub (Oct 17, 2023):
Bug fixed with modify key serverVersion of DATABASE_URL in .env
@NetworkDevHead commented on GitHub (Mar 18, 2024):
To elaborate on @jeremyrncp you can just completely remove the version .e.g ?serverVersion=mariadb-10.4.11 from the DATABASE_URL to solve
@ErickGabrielLira commented on GitHub (Jun 5, 2024):
Thank you all, friends!
@kusman28 commented on GitHub (Sep 8, 2024):
This one works for me!
@mahmutaydin1 commented on GitHub (Jan 17, 2025):
thank you