-
Notifications
You must be signed in to change notification settings - Fork 2.2k
Open
Labels
questionUsability question, not directly related to an error with the imageUsability question, not directly related to an error with the image
Description
I have an issue with SQL entrypoint, which runs without any issues when imported manually.
Error:
database | 2021-03-08 16:07:08+00:00 [Note] [Entrypoint]: /usr/local/bin/docker-entrypoint.sh: running /docker-entrypoint-initdb.d/0.sql
database | ERROR 1064 (42000) at line 1: 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 'DELIMITER $$
database | /*!50003 DROP TRIGGER*//*!50032 IF EXISTS */ /*!50003 `test` */$$' at line 3
Example SQL file:
/* Trigger structure for table `test` */
DELIMITER $$
/*!50003 DROP TRIGGER*//*!50032 IF EXISTS */ /*!50003 `test` */$$
Image:
REPOSITORY TAG IMAGE ID CREATED SIZE
mysql 5.7 d54bd1054823 9 days ago 449MB
Docker version:
19.03.8
Can someone help me with this, please?
Metadata
Metadata
Assignees
Labels
questionUsability question, not directly related to an error with the imageUsability question, not directly related to an error with the image