You are doing it wrongly.
First param is date and 2nd param is format as
SELECT
DATE_FORMAT('2010-01-05','%m-%e-%Y');
AND if the input date is in the format Y-m-d ( which is mysql date format)
Then to convert it to d-m-Y it should be
SELECT
DATE_FORMAT('2010-01-05','%d-%m-%Y');