Skip to content

Commit a8cacc7

Browse files
committed
set command --sql_mode - ERROR 1067 (42000) at line 38: Invalid default value
1 parent 90347ee commit a8cacc7

File tree

3 files changed

+3
-1
lines changed

3 files changed

+3
-1
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ run:
5050
@make env
5151
@echo "Upon initial setup run the following on the MySQL system, this will setup a GLOBAL admin:"
5252
@echo ""
53-
@echo " docker exec -it apache_db_1 /bin/bash \n \
53+
@echo " docker exec -it apache_db /bin/bash \n \
5454
mysql -p$(MYSQL_ROOT_PASSWORD) \n \
5555
GRANT ALL PRIVILEGES ON * . * TO '$(MYSQL_USER)'@'%' with grant option; \n"
5656

docker-compose.local.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ services:
2222
- '3306:3306'
2323
env_file:
2424
- .env
25+
command: mysqld --sql_mode="ONLY_FULL_GROUP_BY,STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_ENGINE_SUBSTITUTION"
2526
phpmyadmin:
2627
image: 'marvambass/phpmyadmin:latest'
2728
container_name: apache_phpmyadmin

docker-compose.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
version: '3'
12
hg-web:
23
image: 'htmlgraphic/apache:envoyer' # PHP v7.3.2-3+ubuntu18.04.1+deb.sury.org+1
34
ports:

0 commit comments

Comments
 (0)