服务器端语言php.select id from item where id in ( '5 ', '4 ', '1 ', '2 ', '3 ') order by instr( '5 ', '4 ', '1 ', '2 ', '3 ',id) SQL code: select id from item where id in ('5','4','1','2','3') order by locate(concat(',',id,','),',5,4,1,2,3,');
SQL code: select id from item where id in ('5','4','1','2','3') order by find_in_set(id,'5,4,1,2,3')
环境:win2003 apache2 resin3 php5 mysql5 mysql错误里出现这个,服务器直接死到那里。 InnoDB: The log sequence number in ibdata files does not match InnoDB: the log sequence number in the ib_log ......