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
2022-07-05 21:37:49