验证Trac安装前的MySQLdb(Python)的线程安全性

2024-05-15 19:23:10 发布

您现在位置:Python中文网/ 问答频道 /正文

我第一次尝试手动安装Trac。我不想使用像Bitmani这样的一键式安装程序,我想学习如何手动安装Trac,所以我会仔细遵循说明。在Linux环境下安装之前,我现在正在Windows本地主机上安装它。你知道吗

当我仔细地遵循说明时,我需要安装Python+MySQLDb,我阅读了以下内容:

thread-safety is important (...) verify that it is thread-safe by calling MySQLdb.thread_safe() from a standalone Python script (i.e., not under Apache). If the stand-alone test reports that MySQLdb is indeed thread-safe (...)

我刚刚安装了MySQLDb 1.2.4,我想验证一下。我在google上搜索过,但还没有找到关于这个的例子,我也不知道Python!!有人能帮我验证一下我是否有线程安全的安装吗?你知道吗

谢谢!!!你知道吗


Tags: that环境islinuxwindows手动threadtrac