Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

mysql as database startup error #4186

Open
psheep303 opened this issue Dec 7, 2024 · 3 comments
Open

mysql as database startup error #4186

psheep303 opened this issue Dec 7, 2024 · 3 comments

Comments

@psheep303
Copy link

Describe the bug

I get the following error when deploying
image

Steps to reproduce

Configure the environment variables MEMOS_DRIVER and MEMOS_DSN after referring to the tutorial.

The version of Memos you're using

v0.22.5

Screenshots or additional context

No response

@psheep303 psheep303 added the bug Something isn't working label Dec 7, 2024
@RoccoSmit
Copy link
Contributor

RoccoSmit commented Dec 8, 2024

Are you referring to this tutorial?

Your DSN string is malformed. The above link shows you need to use the following format

--dsn 'root:password@tcp(localhost)/memos_prod'

You need to adjust the tcp(localhost) part of your string. The string parser is looking for the ( and ) and cant find it

Reminder, this is a public forum so please remember to change your password after sharing it here

@johnnyjoygh johnnyjoygh added Stale and removed bug Something isn't working labels Dec 11, 2024
@psheep303
Copy link
Author

How should I solve the following problems?
image

@github-actions github-actions bot removed the Stale label Dec 13, 2024
@RoccoSmit
Copy link
Contributor

RoccoSmit commented Dec 15, 2024

It looks like the file you are trying to upload is too big for the db blob type used in the mysql db.
If this is the case then consider using local storage (settings -> storage -> localstorage) instead

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants