On 7/21/22 10:09, Jonathan Green wrote:
I've triple checked the password in mailman.cfg and used the same username/password directly in MySQL and was able to get to the mailman3 database. I did run a test script in python3 using the PyMySQL connector and got the same error. Is there some permissions issue I need to look for? I ran the install as user root - perhaps the user running the python script doesn't have access somehow?
First, your primary support resource for the Debian/Ubuntu packages should be Debian.
That said, the database access credentials are also configured in the DATABASES setting in your Django settings, although your OP indicates this error is in core.
I'm not sure what running the install as root
will do in the
Debian/Ubuntu package, but with that package, the user that needs to
access things is list
and all the Mailman processes should run as list
.
Did your test script do pymysql.connect(user='list', ...)?
-- Mark Sapiro <mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan