-
-
Notifications
You must be signed in to change notification settings - Fork 9
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
Installation with MariaDB>10.3.1 not possible #87
Comments
btw Contao/doctrine does not even support 10.2, see #83 (comment) |
Looks like contao resp. symfony (using Doctrine) has general problems with MariaDB .. |
What is the reason for them removing it? Is it enabled by default? Can you point to a page where you found that information? |
The information is correct. The whole point of deprecating was being able to remove it. 😄
@agoat What does |
MariaDB returns an empty result (Tested with phpMyAdmin on a MariaDB 10.3.5 server). But the result of $row = $this->connection
->query("SHOW VARIABLES LIKE 'innodb_large_prefix'")
->fetch(\PDO::FETCH_OBJ)
; is |
MariaDB 10.3.1+ and MySQL 5.8?+ always use 3072 bytes. |
So basically:
|
Fixed in contao/core-bundle@e5b39f7. |
The InstallTool.php is checking the But the check for |
Yes. |
The variable
innodb_large_prefix
is deprecated since MariaDB 10.2 and is now removed in version 10.3.1.When trying to install contao with a MariaDB 10.3.1+ server the install tool is complaining to set the
innodb_large_prefix
variable which is not available anymore.When changing the corresponding lines in the InstallTool.php to something like this:
The installation process can then continue, but will try to update all table columns again and again..
After changing also the corresponding lines in DCASchemaProvider.php in the core-bundle, I was able to login and at the first glance everything was working.
The text was updated successfully, but these errors were encountered: