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
I don't have a very thorough knowledge of doctrine\dbal, but wouldn't be ideal be a way to specify the charset and collation following the MySQL create database standards?
CREATEDATABASEmydb
DEFAULT CHARACTER SET utf8
DEFAULT COLLATE utf8_general_ci;
The text was updated successfully, but these errors were encountered:
I need to create a new database on MySQL, but the
AbstractSchemaManager
doesn't respect my ORM entity manager charset param:I took a look at the sources and I saw that there isn't parameter on this
AbstractSchemaManager::createDatabase
:https://github.com/doctrine/dbal/blob/master/lib/Doctrine/DBAL/Schema/AbstractSchemaManager.php#L428
And consequently on
MySqlPlatform::getCreateDatabaseSQL
there isn't a parameter to inform the charset and collection:https://github.com/doctrine/dbal/blob/master/lib/Doctrine/DBAL/Platforms/MySqlPlatform.php#L384
I don't have a very thorough knowledge of
doctrine\dbal
, but wouldn't be ideal be a way to specify the charset and collation following the MySQL create database standards?The text was updated successfully, but these errors were encountered: