Skip to content

Commit

Permalink
export mysqlcmd
Browse files Browse the repository at this point in the history
  • Loading branch information
oivindoh committed Sep 5, 2024
1 parent c5d592a commit db9ad80
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion core/files/configure_misp.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/bin/bash

MYSQLCMD="mysql -u $MYSQL_USER -p$MYSQL_PASSWORD -P $MYSQL_PORT -h $MYSQL_HOST -r -N $MYSQL_DATABASE"
export MYSQLCMD="mysql -u $MYSQL_USER -p$MYSQL_PASSWORD -P $MYSQL_PORT -h $MYSQL_HOST -r -N $MYSQL_DATABASE"

source /rest_client.sh
source /utilities.sh
Expand Down
2 changes: 1 addition & 1 deletion core/files/entrypoint_nginx.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ term_proc() {

trap term_proc SIGTERM

MYSQLCMD="mysql -u $MYSQL_USER -p$MYSQL_PASSWORD -P $MYSQL_PORT -h $MYSQL_HOST -r -N $MYSQL_DATABASE"
export MYSQLCMD="mysql -u $MYSQL_USER -p$MYSQL_PASSWORD -P $MYSQL_PORT -h $MYSQL_HOST -r -N $MYSQL_DATABASE"

init_mysql(){
# Test when MySQL is ready....
Expand Down

0 comments on commit db9ad80

Please sign in to comment.