Skip to content
Snippets Groups Projects
Commit 708ccc61 authored by Hobbs, Alexandra (Contractor)'s avatar Hobbs, Alexandra (Contractor)
Browse files

Use the pymysql library to connect to the db

parent 6d464f2a
No related branches found
No related tags found
1 merge request!402Use the pymysql library to connect to the db
......@@ -29,7 +29,7 @@ if [ -f "${EHP_SERVER_INI}" ]; then
DB_NAME=geomag_operations
DB_USER=$(get_ehp_server_ini 'mysql_web_absolutes_user=');
DB_PASS=$(get_ehp_server_ini 'mysql_web_absolutes_password=');
export DATABASE_URL="mysql://${DB_USER}:${DB_PASS}@${DB_HOST}/${DB_NAME}";
export DATABASE_URL="mysql+pymysql://${DB_USER}:${DB_PASS}@${DB_HOST}/${DB_NAME}";
fi
export OPENID_CLIENT_ID=${OPENID_CLIENT_ID:-""}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment