ERROR 1615 (HY000): Prepared statement needs to be re-prepared 經(jīng)過測試,發(fā)現(xiàn)不是合服腳本的問題。經(jīng)過一番搜索。發(fā)現(xiàn)原來是mysql的變量值設(shè)置不合理引起的,調(diào)整以下值: table_open_cache 64=>16384 table_definition_cache 256=>16384 mysql> set global table_open_cache=16384; mysql> set global table_definition_cache=16384; 重新來一遍合服腳本,一切OK。最后發(fā)現(xiàn)這個(gè)db機(jī)器...