在Fedora Core 6 安裝Bigworld服務器工具,在/home/zhu/mf/bigworld/tools/server/install/目錄下輸入./install_tools.py命令,出現錯誤
Installing system services
Uninstalling existing system service 'bw_stat_logger'
Installing package: bw_stat_logger
Starting stat_logger: [ OK ]
Uninstalling existing system service 'bw_message_logger'
Installing package: bw_message_logger
Starting message_logger: [ OK ]
Uninstalling existing system service 'bw_web_console'
Installing package: bw_web_console
Starting web_console: Traceback (most recent call last):
File "./start-web_console.py", line 15, in ?
import MySQLdb
File "/home/zhu/mf/bigworld/tools/server/pycommon/redist/mysql_python/MySQLdb/__init__.py", line 22, in ?
raise ImportError, "this is MySQLdb version %s, but _mysql is version %r" %\
ImportError: this is MySQLdb version (1, 2, 1, 'final', 2), but _mysql is version (1, 2, 1, 'final', 1)
[FAILED]
Check '/var/log/bigworld/web_console.log' for errors
求大神幫忙解答,謝謝!
根據你的錯誤,你的Bigworld中MySQLdb的版本比你安裝的mysql版本高,升級一下mysql數據庫