• update my_contacts

    set city = substring_index(location, ',', 1),

    state = substring_index(location, ',',-1) ;

    solves the problem!