-
-
Notifications
You must be signed in to change notification settings - Fork 454
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
mapping_types configuration option make doctrine:database:create throw an error #327
Comments
@lexwolfy, did you manage to get a work-around for this? |
I do not use doctrine:database:create anymore, but a mysql command line instead... and then doctrine:schema:update |
@lexwolfy , @bassim, try this: parameters: workaround to avoid DB init failure (#351 (comment))database_server_version: 5.5 |
The parameter is called |
exactly! :)
|
Setting the version_version fixes the issue. This is an issue from dbal and not much we can do about it here. Closing. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi,
I'm currently trying to use enum in my symfony project with this solution :
But after adding this option to my config.xml, doctrine:database:create command doesn't work anymore, throwing me this error :
After few researches, I figured out that adding mapping_types cause doctrine to check for databasePlatform and databasePlatformVersion by connecting to database using the databasename in connection param but the database is not created yet.. so error.
Did I miss something in my config ? Even so, I think this error shouldn't be.
Thanks,
The text was updated successfully, but these errors were encountered: