Open r8or0pz opened 5 years ago
Related to https://github.com/creof/doctrine2-spatial/issues/193 and https://github.com/creof/doctrine2-spatial/pull/196
If really needed you can use this branch: https://github.com/holtkamp/doctrine2-spatial/tree/mysql-80-support
not for production use though: I might delete it when the PR gets merged.
@djlambert can you have a look at the PR? Been using it in production for 6 months now, works nicely
Agree this would be really nice to have merged - we're running into the same issue
Looks like MySQL 8 is not supported as there is no
ST_
prefix in GeomFromText in default configuration, but according thedoc
it should work: https://github.com/creof/doctrine2-spatial/blob/master/doc/mysql.mdIt is caused by https://github.com/creof/doctrine2-spatial/blob/master/lib/CrEOF/Spatial/DBAL/Platform/MySql.php#L72
How to enforce doctrine2-spatial to use
ST_GeomFromText
?