mysql> select STR_TO_DATE("12.08.2020", "%d.%m.%Y") from dual;
+---------------------------------------+
| STR_TO_DATE("12.08.2020", "%d.%m.%Y") |
+---------------------------------------+
| 2020-08-12 |
+---------------------------------------+
1 row in set (0.00 sec)