-
Notifications
You must be signed in to change notification settings - Fork 4.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
UI, JobService can not connect to the MySQL #777
Comments
It seems that the connection information is not correct. Could you check whether you can connect it using your password with MySQL client in the container?
|
Thanks for the answer. I didn't modify the password while Harbor was running. However, I did follow the steps you suggested and it didn't do much difference. I tried to connect with mysql client here is the result:
BTW, I'm using the 0.3.5 version from here: |
It's not the first time you run Harbor, right? Harbor persists data of DB in directory /data/database by default, and the configuration of DB password works only when the DB initialises for the first time, which means the directory does not exist. So you can configure the DB password as its initial value "root123" if you have not changed it. |
You're right, I've run Harbor before. Removed /data/database folder as it is no longer needed and Harbor started up successfully. Thanks a lot. |
1)Version of docker engine and docker-compose
Docker version 1.11.2, build b9f10c9
docker-compose version 1.6.0, build d99cad6
2)Config files of harbor, you can get them by packaging "Deploy/config" directory
3)Log files, you can get them by package the /var/log/harbor/
I use just "docker-compose up", so here is the output:
The text was updated successfully, but these errors were encountered: