remove enterkey in mysql data code example Example: mysql remove last empty newline update mytable SET title = TRIM(TRAILING '\n' FROM title)