Mailing List Archive

PyMySQL installation instructions
I'm installing Trac 1.4 on Ubuntu 18.04 and while there are instructions
for using MySQL, the recommendation is to use PyMySQL. I'm not familiar
with PyMySQL, but it seems like it serves to allow Python to interact with
a MySQL server, so I still need to install the MySQL server and create a
trac database and then use PyMySQL to interact with it. Are there
installation instructions for configuring the Trac installation to use
PyMySQL? What is the connection string since
mysql://tracuser:password@localhost/trac isn't supported anymore?

Thanks.

--
You received this message because you are subscribed to the Google Groups "Trac Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to trac-users+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/trac-users/21c96a0b-5235-4b3c-930f-cb9c510bbbc4n%40googlegroups.com.
Re: PyMySQL installation instructions [ In reply to ]
On Friday, April 9, 2021 at 10:14:55 AM UTC-7 steel...@raidoh.com wrote:

> I'm installing Trac 1.4 on Ubuntu 18.04 and while there are instructions
> for using MySQL, the recommendation is to use PyMySQL. I'm not familiar
> with PyMySQL, but it seems like it serves to allow Python to interact with
> a MySQL server, so I still need to install the MySQL server and create a
> trac database and then use PyMySQL to interact with it. Are there
> installation instructions for configuring the Trac installation to use
> PyMySQL? What is the connection string since
> mysql://tracuser:password@localhost/trac isn't supported anymore?
>
> Thanks.
>

PyMySQL replaces MySQLdb as the Python interface to MySQL. The connection
string remains the same. Besides the need to install PyMySQL rather than
MySQLdb, the change does not impact the installation steps.

Ryan

--
You received this message because you are subscribed to the Google Groups "Trac Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to trac-users+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/trac-users/b594674d-8c2b-4f40-ac6f-629c1d25cbe2n%40googlegroups.com.
Re: PyMySQL installation instructions [ In reply to ]
Great. Thanks for the clarification. I misunderstood the error that "mysql"
was unsupported.

On Sunday, April 11, 2021 at 4:37:16 PM UTC-4 RjOllos wrote:

> On Friday, April 9, 2021 at 10:14:55 AM UTC-7 steel...@raidoh.com wrote:
>
>> I'm installing Trac 1.4 on Ubuntu 18.04 and while there are instructions
>> for using MySQL, the recommendation is to use PyMySQL. I'm not familiar
>> with PyMySQL, but it seems like it serves to allow Python to interact with
>> a MySQL server, so I still need to install the MySQL server and create a
>> trac database and then use PyMySQL to interact with it. Are there
>> installation instructions for configuring the Trac installation to use
>> PyMySQL? What is the connection string since
>> mysql://tracuser:password@localhost/trac isn't supported anymore?
>>
>> Thanks.
>>
>
> PyMySQL replaces MySQLdb as the Python interface to MySQL. The connection
> string remains the same. Besides the need to install PyMySQL rather than
> MySQLdb, the change does not impact the installation steps.
>
> Ryan
>

--
You received this message because you are subscribed to the Google Groups "Trac Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to trac-users+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/trac-users/1f4a6858-ab3a-4c9a-9b06-6b41006159b5n%40googlegroups.com.