docker icon indicating copy to clipboard operation
docker copied to clipboard

Error when configuring the mysql database

Open sergio-ns opened this issue 7 months ago • 1 comments

I downloaded image version 2.6.7 When I run the container, wallabag does not start up and the following error is in the log file:

Starting wallabag ... Waiting for database ... Configuring the MySQL database ... ERROR 1064 (42000) at line 1: 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 'CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci' at line 1

I'm using MariaDB 11.2.2 as the database

My wallabag.env:

SYMFONY__ENV__DATABASE_DRIVER=pdo_mysql SYMFONY__ENV__DATABASE_HOST=mariadb SYMFONY__ENV__DATABASE_PORT=3306 SYMFONY__ENV__DATABASE_USER=*** SYMFONY__ENV__DATABASE_PASSWORD=*** SYMFONY__ENV__DATABASE_CHARSET=utf8mb4 SYMFONY__ENV__DOMAIN_NAME=*** SYMFONY__ENV__MAILER_HOST=*** SYMFONY__ENV__MAILER_USER=*** SYMFONY__ENV__MAILER_PASSWORD=*** SYMFONY__ENV__FROM_EMAIL=***

sergio-ns avatar Dec 02 '23 11:12 sergio-ns