My environment:
php 7.2.5
mysql: 8.0.11
matomo: 3.4.0
Here is the error: after I imported old data to newly installed MySQL 8.0.11
SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '. piwik_log_visit' at line 1
This appears to have been fixed by #12759.
Thanks for finding that @mj!
Fixed by #12759 and released in 3.5.0
Most helpful comment
This appears to have been fixed by #12759.