Closed krishnakanthpps closed 1 year ago
@krishnakanthpps in the .env file yes. Root password and all other database details are required. Is this error after setting root password in .env?
The .env files has the root password. But I don't see it being utilized anywhere in the other files. I am kind of new to Docker so didnt change much tweaking.
The error does come despite the root password existing in the .env file.
SQL_DB_NAME="scbsql" SQL_DB_USER="scbadmin" SQL_DB_PASS="sqlpass" SQL_DB_ROOT_PASS="sqlrootpass"
@krishnakanthpps The root password is required for the database(root user is required). However the socioboard container does not need to connect using this password, it connects using the user specified. By any chance did you try to set it up with no root password at first? Try deleting the db volumes( should be default_scb-mysql
and default_scb-mongo
and setting up from scratch.
@krishnakanthpps Also, if your password contains a $
try adding another $
to make $$
. the $ could need to be escaped.
This got fixed.
I am getting this error and MySQL is not starting.
Running on Amazon Linux EC2 instance.
Do we need the MYSQL_ROOT_PASSWORD in the .env file? or in the entrypoint.sh file?