-
Notifications
You must be signed in to change notification settings - Fork 531
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
Can't install - MariaDB, PHP7.4 Error #2019
Comments
Did this error occur during the installation or rebuild? |
On Installation. Fresh new database |
this query fails, activated general log for it |
lead is reserved keyword, putting it into backticks works. soo the database manager should put column and table names always in backticks |
The query is generated by Doctrine DBAL I believe. |
https://dev.mysql.com/doc/refman/8.0/en/keywords.html reserved since 8.0.2 |
Seems to be related to: |
MySQL 8.0.2 is released 4 years ago. We've never encountered this issue before. Tested on MySQL 8 numerous times. |
I can just say, this is the query espocrm tries to execute which fails and its because of LEAD is a reserved keyword. |
What EspoCRM version? |
I just downloaded today |
6.1.7 |
We investigated a bit. |
Nope, I have MariaDB for sure |
What is the version of your Debian OS? |
root@web1:~# lsb_release -a Operating System: Debian GNU/Linux 10 (buster) |
Thanks. |
We have installed EspoCRM on the Debian 10 from the standard repository. All works like a charm. |
[2021-06-16 09:09:34] ALERT: Rebuild database fault: PDOException: SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'lead (id VARCHAR(24) NOT NULL COLLATE
utf8mb4_unicode_ci, deleted TINYINT(...
Webserver: | Apache/2.4.38 (Debian)
PHP-Version: | 7.4.20
MySQL-Server-Version: | 5.5.5-10.3.27-MariaDB-0+deb10u1
The text was updated successfully, but these errors were encountered: