-
-
Notifications
You must be signed in to change notification settings - Fork 30
Error documentation while setup
Aatman Vaidya edited this page Sep 10, 2024
·
2 revisions
The solution to this is change the mysql
version in the docker-compose.yml
file to 8.0.33
.
so the container db
should now look like this
NOTE - make sure you have first deleted the ~/data/ogbv_plugin/
db:
image: "mysql:8.0.33"
command: --default-authentication-plugin=mysql_native_password
restart: always
environment:
MYSQL_ROOT_PASSWORD: root_pw
MYSQL_USER: tattle
MYSQL_PASSWORD: tattle_pw
MYSQL_DATABASE: uli_dev
ports:
- 3306:3306
volumes:
- "~/data/ogbv_plugin/db:/var/lib/mysql"
Docker here is trying to connect to this IP - 172.18.0.3
(this IP address will vary from machine to machine)
the solution here is to add this IP has an extra host for the docker container - modify the db
docker container in docker-compose.yml to look like this
db:
image: "mysql:8.0.33"
command: --default-authentication-plugin=mysql_native_password
restart: always
environment:
MYSQL_ROOT_PASSWORD: root_pw
MYSQL_USER: tattle
MYSQL_PASSWORD: tattle_pw
MYSQL_DATABASE: uli_dev
ports:
- 3306:3306
volumes:
- "~/data/ogbv_plugin/db:/var/lib/mysql"
extra_hosts:
- "host.docker.internal:172.18.0.3"
- About Us
- Our Team
- Contributing to Uli
- Code of Conduct
- Internal Communications
- FAQs
- Curated Issues and Proposals for beginners
- Contributing Code
- Monitoring Issues and Triaging
- Helping review PRs
- Helping with QA
- Helping with Translations
- Sponsor Tattle
- 16 Days of Activism
- Mitigating Harms of Digitally Manipulated Images
- Setup Uli on Windows for Chrome
- Setup Uli on Windows for Chrominum Browsers (Brave, Kiwi etc)
- Setup Uli on Windows for Firefox
- Setup Uli on Windows for Firefox for Android
- Setup Uli on Linux for Chrome
- Setup Uli on Linux for Firefox
- Setup Uli on Linux for Firefox for Android
- Setup Uli on Linux for for Chromium Browsers(Kiwi, Brave etc)