Home > Database > Mysql Tutorial > How to query date in mysql

How to query date in mysql

王林
Release: 2020-10-19 10:57:18
Original
7555 people have browsed it

Mysql query date method: first execute the [mysql -u root -p] command; then enter the password according to the prompts; finally execute the [select now();] statement to view the date.

How to query date in mysql

Enter the mysql -u root -p command to log in to mysql

(Recommended tutorial: mysql video tutorial )

How to query date in mysql

Prompt for password, enter the correct password, enter the mysql command line

How to query date in mysql

Enter select now(); Command, press Enter, return to mysql system time

How to query date in mysql

Related recommendations:mysql tutorial

The above is the detailed content of How to query date in mysql. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template