作者sakra (帝释)
看板Database
标题[MySql] error in my_thread_global_end()
时间Thu Feb 4 13:06:10 2010
想要利用sphinx帮自己的网站建一个站内搜寻
但卡在安装就卡了一个礼拜 总是出现 my_thread_global_end()这个错误
google一下,似乎是mysql的问题,所以冒昧来这里问问看
第一次的开发环境是
winXP sp3 + xampp(MySQL 5.1.33) + sphinx 0.9.9 r2117 w/MySQL support
以下是cmd的文字:
====
G:\Project\DB\xampp\sphinx\bin>indexer.exe --config
G:\Project\DB\xampp\sphinx\sphinx.conf --all
Sphinx 0.9.9-release (r2117)
Copyright (c) 2001-2009, Andrew Aksyonoff
using config file 'G:\Project\DB\xampp\sphinx\sphinx.conf'...
indexing index 'test1'...
collected 998 docs, 3.0 MB
sorted 4.1 Mhits, 96.9% done
total 998 docs, 3017126 bytes
total 2.682 sec, 1124862 bytes/sec, 372.08 docs/sec
distributed index 'dist1' can not be directly indexed; skipping.
total 2 reads, 0.024 sec, 6331.3 kb/call avg, 12.0 msec/call avg
total 35 writes, 0.339 sec, 884.8 kb/call avg, 9.6 msec/call avg
Error in my_thread_global_end(): 3 threads didn't exit
====
查了sphinx的讨论区,得知开发者是以MySql 5.0.3.7来开发
所以就安装了 MySql 5.0.3.7 + sphinx 0.9.8 r1371 w/MySQL support
cmd文字如下:
====
C:\sphinx\bin>indexer.exe --config C:\sphinx\sphinx.conf --all
Sphinx 0.9.8-release (r1371)
Copyright (c) 2001-2008, Andrew Aksyonoff
using config file 'C:\sphinx\sphinx.conf'...
indexing index 'test1'...
collected 4 docs, 0.0 MB
sorted 0.0 Mhits, 100.0% done
total 4 docs, 197 bytes
total 0.017 sec, 11871.76 bytes/sec, 241.05 docs/sec
Error in my_thread_global_end(): 3 threads didn't exit
====
也有试过这个网页
http://tinyurl.com/qvuxpg 提供的libmysql.dll替换方法
但没效
也有去官网论坛po问题了,但没人理我 XD
请问问题到底是出在哪儿呢?(总觉得会不会是我电脑的问题....)
my_thread_global_end()这个error到底要怎麽解决?
谢谢。
--
※ 发信站: 批踢踢实业坊(ptt.cc)
◆ From: 114.38.28.180
1F:推 PsMonkey:你要不要 google my_thread_global_end 一下.... 02/04 14:00
2F:→ sakra:我有google过,请问是我哪里搞错了吗?还是这是PHP问题? 02/04 14:12
3F:推 PsMonkey:有 google 过就好。至於这是哪边的问题,问 sphinx 吧 XD 02/04 15:16
4F:→ sakra:有去sphinx官网问过了,尚未回应。有点病急乱投医,抱歉。 02/04 19:51