adrianmak Posted July 5, 2016 Share Posted July 5, 2016 I ve a fresh pw 2.7.3 installation on fresh installation of ubuntu 16.04 The stock mysql version is 5.7.12 and php version is 7.0.4 However, I got a bunch of sql error during installation Link to comment Share on other sites More sharing options...
Robin S Posted July 5, 2016 Share Posted July 5, 2016 Just a guess: there might be a setting in sql_mode that PW doesn't like. Maybe NO_ZERO_DATE or NO_ZERO_IN_DATE - I'm not sure what the PW requirements are regarding sql_mode settings. Link to comment Share on other sites More sharing options...
gebeer Posted February 14, 2017 Share Posted February 14, 2017 @adrianmak We're ecperiencing problems on a PW 2.7.0 install after MySQL upgrade to 5.7. Do you have any further findings, are PW 2.7 and MySQL 5.7 versions not compatible or did you get it to work? Link to comment Share on other sites More sharing options...
Robin S Posted February 14, 2017 Share Posted February 14, 2017 2 hours ago, gebeer said: We're ecperiencing problems on a PW 2.7.0 install after MySQL upgrade to 5.7 Maybe you can update to PW 2.8.x? More recent versions of PW have fixed some MySQL 5.7 issues and make some SQL mode settings in /wire/config.php. Link to comment Share on other sites More sharing options...
gebeer Posted February 14, 2017 Share Posted February 14, 2017 @Robin S Thanks for the tip. In 3.x there is a setting $config->dbSqlModes = array( "5.7.0" => "remove:STRICT_TRANS_TABLES,ONLY_FULL_GROUP_BY" ); in https://github.com/processwire/processwire/blob/master/wire/config.php#L869 But it seems that 2.8 is not supporting those mode settings. At least I cant find anything related in https://github.com/processwire/processwire-legacy/blob/master/wire/core/WireDatabasePDO.php or https://github.com/processwire/processwire-legacy/blob/master/wire/config.php Link to comment Share on other sites More sharing options...
LostKobrakai Posted February 14, 2017 Share Posted February 14, 2017 Try this: https://github.com/processwire/processwire-issues/issues/28#issuecomment-252870084 3 Link to comment Share on other sites More sharing options...
gebeer Posted February 15, 2017 Share Posted February 15, 2017 @LostKobrakai That did the trick. Site is back to normal now. Thanks a lot! 1 Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now