-
-
Notifications
You must be signed in to change notification settings - Fork 436
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
MySql8 compatibility #935
Comments
Hi |
@tmotyl I agree with your suggestion. I will take a look at code, and I'll send a PR |
@tmotyl I had a deep dive into source code, and apparently column type is coming from different places during installation and during upgrade scripts (e.g. I suggest continuing with the changes I made because I'm currently using it in production and so far I haven't faced any issues. If you agree I will send a PR for this. Thanks |
Hi |
We had this same issue on a few of our existing sites running against Mysql 8. Mainly when running the flat catalog/product indexer. These changes worked fine for us. We can create a PR for this. |
I get this error during reindex. php -f /home/www/sites2/example.com/www/shell/indexer.php reindexall
|
Hi @CyberCr33p, On a completely clean installation with one simple product added and flat indexes enabled I am not able to reproduce the issue. Perhaps it is related to a certain attribute type.
Please see what the contents of $this->_columns is at line 592 of E.g.:
Since for one of those columns this expression ( |
Somebody could send me the modified files to solve my issue with magento 1.9? I have problem with reindex flat category and product data. Thanks in advance! |
Quick fix is just disabled flat indexer. or you can just copy the modifications on the 3 files above. |
I copied the modifications, they dont work. Or Indid something wrong. I would need the modifies files to let me upload them. disabling flat indexer is not a solution, site speed terribly falls back |
Is this version compatible with Mysql8? And v1.7.x? |
Ref https://github.com/OpenMage/magento-lts?tab=readme-ov-file#requirements, yes it is compatible. Magento v1.7.x is very old, probably not compatible, |
Hello everyone,
In my latest project, I needed to connect Magento (v. 1.9.4.4) to Mysql 8 that I faced a problem during installation. I couldn't find any reference for it but I have fixed it.
It seems, in some cases, the
describe
method sometimes, addunsigned
toint
,tinyint
,smallint
,mediumint
andbigint
.The files that I change fixed the issue for me, I just mentioned it here because if anyone else faced this issue, we can fix it for the next version.
These three files need to change in order to get the issue fix.
app/code/core/Mage/Core/Model/Resource/Helper/Abstract.php
line 273add
lib/Varien/Db/Adapter/Pdo/Mysql.php
between line 1886 and 1896 must add some new cases:app/code/core/Mage/Eav/Model/Resource/Helper/Mysql4.php
line 85The text was updated successfully, but these errors were encountered: