Jump to content

mySql collation - why is this simple search not working?


susanBuck

Recommended Posts

Here's my issue -

Doing a Search in phpAdmin turns up no results even though I know it should be finding something.

The SQL search query result is showing this weird convert collate thing i've never seen before :

SELECT * 
FROM  `orders` 
WHERE  `ref` LIKE CONVERT( _utf8 '4PF37651K22263031'
USING latin1 ) 
COLLATE latin1_swedish_ci
LIMIT 0 , 30

 

Here's a screencast of me trying to do the search - where you can see exactly what i'm talking about http://screencast.com/t/0yGHAufCl9

 

 

Note that we've recently updated our servers to mySql 4...and based on research i'm suspecting this is related... just don't know how to fix it!

 

Additional note , not sure if its relevant but - the data for the "ref" field which i'm trying to search, is data POSTed back from a paypal IPN transaction.

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.