All Questions
Tagged with docker-compose mysql
1,392
questions
0
votes
0
answers
22
views
docker-compose generated WebAPI container fails to connect to MySql container
I have a Visual Studio .Net 8 Solution that contains a WebAPI backend project. It also contains dockerfile. I have also added a docker-compose to orchestrate the project. Outside of this visual ...
-1
votes
1
answer
73k
views
sqlalchemy.exc.OperationalError: (pymysql.err.OperationalError) (2003, "Can't connect to MySQL server on 'XXX.XXX.XXX.XXX' (timed out)") [closed]
I'm using docker compose and Flask python.
I'm trying to run an old application but I get sqlalchemy.exc.OperationalError: (pymysql.err.OperationalError) (2003, "Can't connect to MySQL server on '...
0
votes
1
answer
336
views
Return value of sqlExceptionHelper() is null
I was trying my hands on running my Spring Boot application with MySQL database on Docker Desktop via docker compose. I am getting this error upon running docker compose up .
app-1 | java.lang....
0
votes
0
answers
36
views
SQLSTATE[HY000]: General error: 1005 Can't create table 'service' (errno: 13)
MySQL keep failing on creating table. I read about the error on other resources and nothing helped.
When i ran command -
"docker compose -f ./docker/docker-compose-linux.yaml run --rm php-cli ./...
0
votes
1
answer
46
views
Containerized Spring boot application is unable to connect to database within container
I seem to be encountering an error within an application that I have created in changing it to be ran via docker.
I want to be able to stat the application from running docker compose so I created a ...
1
vote
2
answers
55
views
How can I get pre-existing data from a mysql database into a mysql docker container?
I am new to using Docker and I want to place an existing project in a set of Docker containers so I can run the project on other platforms/devices. I currently have a Flask app connected to a mysql ...
0
votes
1
answer
43
views
Directus is not connecting with mysql over SSH server
I can't connect my directus project with mysql server.
Getting connection refused error.
However when I'm running this command, I'm able to connect: mysql -u root -p -h localhost -P 3306
My docker-...
0
votes
0
answers
20
views
Error migrating files with Cyrillic when using Docker for Mysql. Docker doesn't read Mysql config. Windows OS
I have Windows OS. When I try to migrate in Docker I get an error
(details: Error 1366: Incorrect string value: '\xD0\x9C\xD0\xBE\xD0\xB4...' for column 'name' at row 1)
app | make: *** [Makefile:...
0
votes
0
answers
37
views
Different charsets for mysql database from define docker compose file
I'm configure a docker compose to run 2 blogs in the same server and use one database. The whole configuration is fine except for one simple detail, I can't use emojis on my posts. 😒
Hours in the ...
-1
votes
0
answers
39
views
My Spring Boot CRUD application is not working in EC2 instance
I have a Spring Boot CRUD application with MySQL which works completely fine on my localhost. Now I want it to host on the AWS EC2, but I am getting communication link failure every time.
application....
-3
votes
1
answer
129
views
dial tcp 192.168.48.2:3306: connect: connection refused
My connection to the DB keeps getting refused i tried to make sure all the ports were correct and parameters were matched up but i still keep getting this error
this is my docker compose file
...
1
vote
0
answers
37
views
Connect docker compose nginx+php with local database
how to connect nginx+php i was create docker compose with my server database mysql which is on another server, but is still in one network, more or less a simple topology like this:
and my file ...
-1
votes
1
answer
37
views
How to start my Mysql database to connect to my api
I am trying to make a mysql database to connect to my api (the two of them are for a local infrastructure).
right now i tried to make my api check my production database (which is working on port 3306)...
-1
votes
1
answer
93
views
MySQL inside docker compose on github codespace 16gb ram is running into issues
I tried to run MySQL independently. It is one of many services for a open source project I am trying to get running. I found out what part is causing issues, it is "--default-authentication-...
0
votes
1
answer
55
views
springboot docker container not connecting to mySQL container that is being created along side it in docker compose
Im trying to create a docker image with a springboot application and a mysql database but im unable to connect to it from the springboot container.
Initially i thought the Springboot container exited ...