Renommer le nom du champ dans mysql
ALTER TABLE table_name
RENAME COLUMN old_column_name TO new_column_name;
Masraga Setiawan
ALTER TABLE table_name
RENAME COLUMN old_column_name TO new_column_name;
alter table product change price price_kg float;
ALTER TABLE tableName CHANGE `oldcolname` `newcolname` datatype(length);
(you can remove the backticks if it doesn't work)
-- mysql
ALTER TABLE `members` CHANGE COLUMN `full_names` `fullname` char(250) NOT NULL;