I encount an problem with pyhon3 and MySQLdb

28 views
Skip to first unread message

hao zheng

unread,
Oct 8, 2021, 11:15:18 AM10/8/21
to Review Board Community
HI:
I want ask for some help, it already block me long time
Before, when I want install reviewboard, I use python3 and MySQLdb. 
when I run, I get error msg form " from MySQLdb.connections import Connection ", 
After investigating,  I find python3 not support MySQLdb. 
Now I have install  PyMySQL, but I run reviewboard, like http://localhost:8001/,
but it still will use  MySQLdb. 
How can I modify configure?  let it use PyMySQL instead of MySQLdb.reviewboard.png

Brs,
Peter

David Trowbridge

unread,
Oct 19, 2021, 12:22:06 PM10/19/21
to reviewboard
The correct module is "mysqlclient". I'd suggest doing "pip install -U ReviewBoard[mysql]" to ensure you get everything correct. See the installation instructions at https://www.reviewboard.org/docs/manual/4.0/admin/installation/linux/#id2

David


--
Supercharge your Review Board with Power Pack: https://www.reviewboard.org/powerpack/
Want us to host Review Board for you? Check out RBCommons: https://rbcommons.com/
Happy user? Let us know! https://www.reviewboard.org/users/
---
You received this message because you are subscribed to the Google Groups "Review Board Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email to reviewboard...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/reviewboard/80cdd3c6-2ebb-4edf-ac4a-3661f3e87cb8n%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages