susanBuck Posted April 3, 2008 Share Posted April 3, 2008 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 https://forums.phpfreaks.com/topic/99322-mysql-collation-why-is-this-simple-search-not-working/ Share on other sites More sharing options...
luca200 Posted April 4, 2008 Share Posted April 4, 2008 It sounds a little weird to me... but just try changing the connection collation on phpmyadmin homepage to latin1_swedish_ci Link to comment https://forums.phpfreaks.com/topic/99322-mysql-collation-why-is-this-simple-search-not-working/#findComment-509097 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.