-
-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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
Piwik compatible with old Mysql 4.1 (cannot connect to DB since 2.15.0) #9088
Comments
@mtsluft Hi, I'm just another user. Here is what you could try as a temporary patch, until the devs are back from the weekend: In https://github.com/piwik/piwik/blob/2.15.0/core/Db.php#L36 (i.e. the piwik/core/Db.php file, line 36 in your installation), delete the But to help the devs to find the root cause, following details would be useful:
Hope this helps. |
Hi Joey3000, tried your suggestion, did not work :( Same error is showing, which you can see on http://iluft.com/piwik/ Thanks |
@mtsluft It's not the same error. :) It now refers to a different value: So, could you please, as a test, also try removing the Also, the MySQL version used and result of I assume that the last working Piwik version was 2.14.3 (i.e. the previous official release), right? |
Removed also ,NO_ZERO_DATE, now another new error ... MySQL Version is 4.1.22 and the result of SHOW ENGINES: Engine Support Comment Yes, everything worked for years until the new update... |
What's the new error that you get?
|
You can See the whole error at http://iLuft.com/piwik |
@mattab It's It looks like all except @mtsluft Could you try removing all except
Those values were first introduced for Piwik 2.15.0 in #8589. |
@mattab I thought for a moment that I made a mistake in that if Piwik is to support "MySQL version 4.1 or greater", then |
»In the meantime, we will in 2.15.1 make Piwik 2.X compatible with Mysql 4.1.x as it used to« |
Hi, removed all other things except NO_AUTO_VALUE_ON_ZERO and now Piwik works again. Thanks!! |
Yes, Mysql 5.5 is much faster than Mysql 4.1 👍 |
Hello,
I run Piwik since 2008 and today I got the first error after the auto-update to the latest version (released today):
An error occurred
Cannot connect to the database:
SQLSTATE[42000]: Syntax error or access violation: 1231 Variable 'sql_mode' can't be set to the value of 'NO_ZERO_IN_DATE'
This may be a temporary issue, try refreshing the page. If the problem persists please contact your Piwik administrator.
Can you help me? sad smiley
The text was updated successfully, but these errors were encountered: