Closed emmaparker96 closed 3 years ago
See https://github.com/yobasystems/alpine-mariadb/issues/53#issuecomment-857579408
You now have yobasystems/alpine-mariadb:arm32v7
when it should be yobasystems/alpine-mariadb:10.5.9
or even yobasystems/alpine-mariadb:10.5.9-armhf
Also see here around the issue you have in your logs https://github.com/yobasystems/alpine-mariadb/issues/47
This MySQL server doesn't support dates later than 2038
Thats why when you said you were running pi 2, i suggested the 10.5.9 image.
I want to access data of an alpine-mariadb from a Python script that is in another Docker container on a Raspberry Pi 2 (armhf/arm32v7).
After executing the command:
docker run -it --name mariadb -p 3306:3306 -v /var/lib/mysql:/var/lib/mysql -e MYSQL_DATABASE=mydb -e MYSQL_USER=root -e MYSQL_PASSWORD=password -e MYSQL_ROOT_PASSWORD=password yobasystems/alpine-mariadb:arm32v7
the following output arises:Unfortunately, I can't get a connection from Python to the database. Is Docker Compose needed for this?