Showing current date and time in YYYY-MM-DD HH:MM:SS format using MySQL :

Current datetime in YYYY-MM-DD HH:MM:SS format
2024-03-28 14:25:07