Hi
Diese Abfrage
funktioniert lokal case insensitive und auf dem Webspace von 1und1 nur case sensitive. Hat jemand eine Ahnung wie das sein kann?
Weitere Infos:
Lokal:
Win 7, PHP 5.5.9,
MySQL Version 5.6.16, version_compile os Win32, protocol version 10
1und1:
Linux ?, PHP 5.5.12,
MySQL Version 5.1.73-log, version_compile os pc-linux-gnu, protocol version 10
Die DB wurde, da sie noch sehr klein ist, per Copy & Paste (SQL - Export per phpMyAdmin) zu 1und1 rüberkopiert. Die Tabellen sind also auf beiden Seiten innoDB case insensitive eingestellt. Die PDO Verbindungseinstellungen sind identisch.
Diese Abfrage
Code:
$sql = "SELECT id, product_code,descr_short,descr_long,price_net FROM ".$catalogue_table." WHERE CONCAT(product_code,descr_long,price_net) LIKE ?";
Weitere Infos:
Lokal:
Win 7, PHP 5.5.9,
MySQL Version 5.6.16, version_compile os Win32, protocol version 10
1und1:
Linux ?, PHP 5.5.12,
MySQL Version 5.1.73-log, version_compile os pc-linux-gnu, protocol version 10
Die DB wurde, da sie noch sehr klein ist, per Copy & Paste (SQL - Export per phpMyAdmin) zu 1und1 rüberkopiert. Die Tabellen sind also auf beiden Seiten innoDB case insensitive eingestellt. Die PDO Verbindungseinstellungen sind identisch.
Kommentar