You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
So this script that is run to initialize the MySQL database in helm install is not completing because the script calls for curl, which is not in the docker image; see logs below.
Create vapi db ...
mysql: [Warning] Using a password on the command line interface can be insecure.
2024-02-06T14:04:04.303299Z 10 [Warning] [MY-013360] [Server] Plugin mysql_native_password reported: ''mysql_native_password' is deprecated and will be removed in a future release. Please use caching_sha2_password instead'
Curling vapi.sql ...
/docker-entrypoint-initdb.d/my_init_script.sh: line 6: curl: command not found
The text was updated successfully, but these errors were encountered:
initdbScripts:
my_init_script.sh: |
#!/bin/bash
export MYSQL_ROOT_PASSWORD=vapi123456 # This must match the auth.rootPassword above
echo "Create vapi db ..."
mysql -P 3306 -uroot -p$MYSQL_ROOT_PASSWORD -e "CREATE DATABASE IF NOT EXISTS vapi";
echo "Curling vapi.sql ..."
curl https://raw.githubusercontent.com/roottusk/vapi/master/database/vapi.sql -o /tmp/vapi.sql
echo "Importing sql ..."
mysql -u root -p$MYSQL_ROOT_PASSWORD vapi < /tmp/vapi.sql
So this script that is run to initialize the MySQL database in helm install is not completing because the script calls for curl, which is not in the docker image; see logs below.
Create vapi db ...
mysql: [Warning] Using a password on the command line interface can be insecure.
2024-02-06T14:04:04.303299Z 10 [Warning] [MY-013360] [Server] Plugin mysql_native_password reported: ''mysql_native_password' is deprecated and will be removed in a future release. Please use caching_sha2_password instead'
Curling vapi.sql ...
/docker-entrypoint-initdb.d/my_init_script.sh: line 6: curl: command not found
The text was updated successfully, but these errors were encountered: