分类:
2008-07-11 10:59:51
编辑site.cfg
修改mysql_config绝对路径
安全线程->false
#
1 [options]
2 # embedded: link against the embedded server library
3 # threadsafe: use the threadsafe client
4 # static: link against a static library (probably required for embedded)
5
6 embedded = False
7 #threadsafe = True
8 threadsafe = False (修改为False)
9 static = False
10
11 # The path to mysql_config.
12 # Only use this if mysql_config is not on your PATH, or you have some weird
13 # setup that requires it.
14 mysql_config = /usr/local/mysql/bin/mysql_config (指定)
15
16 # The Windows registry key for MySQL.
17 # This has to be set for Windows builds to work.
18 # Only change this if you have a different version.
19 registry_key = SOFTWARE\MySQL AB\MySQL Server 5.0
shell>python setup.py build
shell>puthon setup.py install