modify a column name in mysql code example
Example 1: rename column mysql
ALTER TABLE tableName CHANGE `oldcolname` `newcolname` datatype(length);
(you can remove the backticks if it doesn't work)
Example 2: change column name mysql command line
ALTER TABLE `members` ADD COLUMN `credit_card_number` VARCHAR(25);