Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

MySQL integration#1812

Unanswered
Periscope123 asked this question inQuestions
Aug 19, 2021· 6 comments· 1 reply
Discussion options

Hello!

I have a question about MySQL integration. Right now we can generate a starter pack with PSQL config. How can I change it so my app will use MySQL?

PGAdmin for PostgreSQL database, you can modify it to use PHPMyAdmin and MySQL easily.

Is there any example project with MySQL integration?

You must be logged in to vote

Replies: 6 comments 1 reply

Comment options

Yes, I also need to know how to do this and also in stead of just mysql also with mssql
I think this project would benaffit significantly with a little documentation explaining how to wire up other native (not docker) databases.
I have tried replacing
“engine = create_engine(settings.SQLALCHEMY_DATABASE_URI, pool_pre_ping=True)”
With
“engine = create_engine("mysql+mysqlconnector://root:Tahera621@10.8.0.1:3306/motest")”

But this doesn’t allow the stack to start.

Help would be much appreciated.

You must be logged in to vote
0 replies

This comment has been minimized.

Comment options

I'm using pymysql and it work well
“engine = create_engine("mysql+pymysql://user:passwd@host:prot/dbname")”

You must be logged in to vote
0 replies
Comment options

May be thisrepo could help you

You must be logged in to vote
1 reply
@vuongtlt13
Comment options

May be thisrepo could help you

Newest version updated athttps://github.com/vuongtlt13/full-stack-fastapi-mysql

Comment options

@vuongtlt13@tiangolo I tried installing google-cloud-storage and I couldn't install it using poetry but pip does it in the system but it's not accessible by the docker project

You must be logged in to vote
0 replies
Comment options

@vuongtlt13@tiangolo I tried installing google-cloud-storage and I couldn't install it using poetry but pip does it in the system but it's not accessible by the docker project

I ran it successfully after adding RUN bash -c "pip install google-cloud-storage" inbackend.dockerfile andceleryworker.dockerfile immediately after the project.tomlCOPYcommand

You must be logged in to vote
0 replies
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Labels
None yet
5 participants
@Periscope123@vuongtlt13@mythral0@phamngocquy@nzivo
Converted from issue

This discussion was converted from issue #412 on September 01, 2025 09:16.


[8]ページ先頭

©2009-2025 Movatter.jp