Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

PHP Forum


You are currently viewing our PHP Forum as a guest. Please register to participate.
Login



Freelance Jobs

Reply
Local and Server MySQL return different results
Old 05-29-2005, 04:47 AM Local and Server MySQL return different results
mtishetsky's Avatar
King Spam Talker

Posts: 1,226
Name: Mike
Location: Mataro, Spain
Trades: 0
What I have:
1. Mysql 4.1.11 on local computer, Mysql 4.0.24 on my server
2. Identical /etc/my.cnf on both computers (except paths of course)
3. Identical databases on both computers

When I perform fulltext search in a way like folowing:
Code:
select * from program 
where match (name, keywords, description) 
against ('+3gp* +converter*' in boolean mode)
the result on local machine is quite different from the result on server - server version does not include some records. Cannot understand why. I suppose that fulltext indexing in 4.0 and 4.1 cannot be so much different. Will greatly appreciate any advice.
__________________

Please login or register to view this content. Registration is FREE
-
Please login or register to view this content. Registration is FREE
-
Please login or register to view this content. Registration is FREE

And don't forget to give me talkupation!

Last edited by mtishetsky; 05-29-2005 at 04:54 AM..
mtishetsky is offline
Reply With Quote
View Public Profile Visit mtishetsky's homepage!
 
 
Register now for full access!
Old 05-29-2005, 04:52 AM
mtishetsky's Avatar
King Spam Talker

Posts: 1,226
Name: Mike
Location: Mataro, Spain
Trades: 0
Also I'm a little bit confused because PhpMyAdmin on local computer says that cardinality for fulltext index is 1 and on server it is 21631 - the number of rows in a table.
__________________

Please login or register to view this content. Registration is FREE
-
Please login or register to view this content. Registration is FREE
-
Please login or register to view this content. Registration is FREE

And don't forget to give me talkupation!
mtishetsky is offline
Reply With Quote
View Public Profile Visit mtishetsky's homepage!
 
Old 05-29-2005, 05:39 AM
mtishetsky's Avatar
King Spam Talker

Posts: 1,226
Name: Mike
Location: Mataro, Spain
Trades: 0
The problem is found. Some days ago I changed keywords column for some records and then insert occured before I did optimize table. Now I dumped this table with --add-drop-table option and reloaded it again, so everything works fine now.
__________________

Please login or register to view this content. Registration is FREE
-
Please login or register to view this content. Registration is FREE
-
Please login or register to view this content. Registration is FREE

And don't forget to give me talkupation!
mtishetsky is offline
Reply With Quote
View Public Profile Visit mtishetsky's homepage!
 
Reply     « Reply to Local and Server MySQL return different results
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.11354 seconds with 12 queries