ALTER TABLE `vncontrol`.`accion` RENAME `vn`.`ticketTrackingState`; -- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Rename columns ALTER TABLE `vn`.`ticketTrackingState` CHANGE COLUMN `accion_id` `id` int(11) NOT NULL AUTO_INCREMENT, CHANGE COLUMN `accion` `action` varchar(15) COLLATE utf8mb3_unicode_ci NOT NULL;