mirror of
https://github.com/ciur/papermerge.git
synced 2026-04-25 03:55:58 +03:00
[GH-ISSUE #293] MySQL Connect Issues #236
Labels
No labels
2.1
3.0
3.0.1
3.0.2
3.0.3
3.0.3
3.1
3.2
3.2
3.3
3.5
3.x
Fixed. Waiting for feedback.
Fixed. Waiting for feedback.
UX
Version 2.1 - alpha
XSS
announcement
beta
blocker
bug
cannot reproduce
confirmed
confirmed
critical
demo
dependencies
deployment
detchnical debt
discussion
docker
documentation
donations
duplicate
enhancement
feature request
frontend
fundraising
good first issue
good issue
help wanted
high
implemented
important
improvement
incomplete
invalid
investigation
kubernetes
low
low impact
medium
medium
medium impact
migration from 2.0
migration from 2.1
missing-language
missing-ocr-language
no-activity
note
ocr
outofscope
packaging
performance
popular request
pull-request
pypi
question
raspberry pi
roadmap
search
security
setup
status
task
technical debt
updates
user xp
version 1.4.0 - demo
will be implemented
will not be implemented
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/papermerge#236
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @doughnet on GitHub (Feb 1, 2021).
Original GitHub issue: https://github.com/ciur/papermerge/issues/293
Originally assigned to: @ciur on GitHub.
Using Ubuntu 20.04 (LXC VM)
Papermerge works fine with SQLite as the backend database but when changing the configuration to MySQL/MariaDB it doesn't connect.
papermerge.conf.py
DBTYPE = "mysql"
DBUSER = "pm"
DBHOST = "localhost"
DBNAME = "pm"
DBPORT = "3306"
DBPASS = "pm"
Error when trying to migrate:
Any help would be greatly appreciated!
@ciur commented on GitHub (Feb 3, 2021):
I see in provided error messages that Papermerge thinks it deals with PostgreSQL database. It looks like it ignores
DBTYPE = "mysql"configuration.It is definitely not an SSL issue.
Thank you for reporting this issue!
@doughnet commented on GitHub (Feb 3, 2021):
Awesome. Thanks for catching. I didn't notice that part of the error.
@doughnet commented on GitHub (Feb 5, 2021):
I tried with Postgres and it worked fine. Can't wait for the MySQL fix.
@ciur commented on GitHub (Feb 22, 2021):
I cannot reproduce it.
I tried both v1.5.5 and latest development version. It works in both cases.
I tried from fresh new clone:
./manage.py migrateruns migrations without any issue.Are you using it from within docker container ?
Can you please describe the steps you followed to install Papermerge ?
@ciur commented on GitHub (Feb 22, 2021):
However, I received exactly same error (
received invalid response to SSL negotiation:...), when I switched back postgres i.e.DBTYPE="pg'BUT by mistake leftDBPORT="3306"i.e. mysql port. Maybe you can check if your sql db port number is correct.@firmicus commented on GitHub (Nov 23, 2021):
@ciur : request to reopen this .... still an issue: can't connect to mysql/mariadb