@@ -91,7 +91,7 @@ mysql_get_config() {
9191}
9292
9393# Do a temporary startup of the MySQL server, for init purposes
94- docker_start_server () {
94+ docker_temp_server_start () {
9595 result=0
9696 %%SERVERSTARTUP%%
9797 if [ " $result " != " 0" ]; then
@@ -116,7 +116,7 @@ docker_wait_for_server() {
116116
117117# Stop the server. When using a local socket file mysqladmin will block until
118118# the shutdown is complete.
119- docker_stop_server () {
119+ docker_temp_server_stop () {
120120 result=0
121121 mysqladmin --defaults-extra-file=" ${PASSFILE} " shutdown -uroot --socket=" ${SOCKET} " || result=$?
122122 if [ " $result " != " 0" ]; then
@@ -277,7 +277,7 @@ _main() {
277277 docker_init_client_command
278278
279279 mysql_note " Starting temporary server"
280- docker_start_server " $@ "
280+ docker_temp_server_start " $@ "
281281 # For 5.7+ the server is ready for use as soon as startup command unblocks
282282 if [ " ${MYSQL_MAJOR} " = " 5.5" ] || [ " ${MYSQL_MAJOR} " = " 5.6" ]; then
283283 mysql_note " Waiting for server startup"
@@ -309,7 +309,7 @@ _main() {
309309 docker_expire_root_user
310310 fi
311311 mysql_note " Stopping temporary server"
312- docker_stop_server
312+ docker_temp_server_stop
313313 mysql_note " Temporary server stopped"
314314
315315 # Remove the password file now that initialization is complete
0 commit comments