Commit 16e4c912 authored by Mathieu Giraud's avatar Mathieu Giraud Committed by Vidjil Team
Browse files

doc/server.md: details

parent b592b503
Pipeline #44591 passed with stage
in 7 seconds
...@@ -266,11 +266,11 @@ Contact us (<mailto:contact@vidjil.org>) to have more information and help. ...@@ -266,11 +266,11 @@ Contact us (<mailto:contact@vidjil.org>) to have more information and help.
### Error "Can't connect to MySQL server on 'mysql'" ### Error "Can't connect to MySQL server on 'mysql'"
The mysql container is not fully launched. This can happen especially at the first launch. The mysql container is not fully launched. This can happen especially at the first launch.
Relaunch the containers. You may relaunch the containers.
XXXX Relaunch the workers.
If restarting the containers does not resolve the issue, there are a couple of things If restarting the containers does not resolve the issue, there are a couple of things
you can look into: you can look into:
- Ensure the database password in `vidjil-server/conf/defs.py` matches the password for - Ensure the database password in `vidjil-server/conf/defs.py` matches the password for
the mysql user: vidjil. the mysql user: vidjil.
If you're not sure, you can check with the following: If you're not sure, you can check with the following:
...@@ -284,6 +284,7 @@ you can look into: ...@@ -284,6 +284,7 @@ you can look into:
mysql -u root -p mysql -u root -p
SET PASSWORD FOR vidjil = PASSWORD('<new password>'); SET PASSWORD FOR vidjil = PASSWORD('<new password>');
``` ```
- Ensure the database was created correctly. This should have been done automatically, - Ensure the database was created correctly. This should have been done automatically,
but just in case, you can check the console output, or check the database: but just in case, you can check the console output, or check the database:
```sh ```sh
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment