Skip to content

Commit a4dfda2

Browse files
committed
UPDATE: Makefile(mysql)
1 parent bd2094d commit a4dfda2

1 file changed

Lines changed: 20 additions & 1 deletion

File tree

Makefile

Lines changed: 20 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -185,4 +185,23 @@ adminer_docker_restart:
185185

186186
# Connect to the Adminer container
187187
adminer_shell:
188-
docker-compose exec adminer sh
188+
docker-compose exec adminer sh
189+
190+
# MySQL Commands
191+
#-------------------------------------------------
192+
193+
# Start the MySQL service in Docker
194+
mysql_docker_start:
195+
docker-compose start mysql
196+
197+
# Stop the MySQL service in Docker
198+
mysql_docker_stop:
199+
docker-compose stop mysql
200+
201+
# Restart the MySQL service in Docker
202+
mysql_docker_restart:
203+
docker-compose restart mysql
204+
205+
# Connect to the MySQL container
206+
mysql_shell:
207+
docker-compose exec mysql bash

0 commit comments

Comments
 (0)