There are two ways to syntax to rename column in MariaDB database. You should use the the one that your engine support based on version of your database. The version of the engine will be prompted during cli login to MySQL/ MariaDB.
— (MariaDB before < 10.5.2 );
-- (MariaDB before 10.5.2 ); ALTER TABLE t1 CHANGE COLUMN title t CHAR(2);
— (MYSQL 8.0 and MariaDB 10.5.2);
-- (MYSQL 8.0 and MariaDB 10.5.2); ALTER TABLE t1 RENAME COLUMN title TO t;