Dovresti aggiungere la 'z' al tuo pattern,
update test set optin1 = STR_TO_DATE(optin,'%Y-%m-%dt%H:%i:%sz')
https://sqlfiddle.com/#!9/ea601/1
Dovresti aggiungere la 'z' al tuo pattern,
update test set optin1 = STR_TO_DATE(optin,'%Y-%m-%dt%H:%i:%sz')
https://sqlfiddle.com/#!9/ea601/1