How do I check the MySQL database version
A,
One sentence summary:
SQL> select version();
Command line: mysql-v or mysql-version
MySQL> check the MySQL database version
From or reference: three ways to view the MySQL database version of
https://www.cnblogs.com/kzwrcom/p/6014544.html
1. Use the -v parameter
The first thing that comes to mind is certainly a parameter command to look for the version number, with an argument of -v (capital letters) or –version
Usage:
D:\xampp\mysql\bin> mysql -V
or
D:\xampp\mysql\bin> mysql –version
2. Use??parameter
This actually has three similar parameters
–help
-i (capital I)
-?
All three are parameters for viewing help information
Usage:
D:\xampp\mysql\bin> mysql -?
or
D:\xampp\mysql\bin> mysql –help
or
D:\xampp\mysql\bin> mysql -I
3, SQL statement to query version information
select version();
There are also other ways to indirectly view MySQL database version information, such as using status; But these three methods are the most convenient and direct.
Reproduced in: https://www.cnblogs.com/Renyi-Fan/p/11064960.html
A,
One sentence summary:
SQL> select version();
Command line: mysql-v or mysql-version
MySQL> check the MySQL database version
From or reference: three ways to view the MySQL database version of
https://www.cnblogs.com/kzwrcom/p/6014544.html
1. Use the -v parameter
The first thing that comes to mind is certainly a parameter command to look for the version number, with an argument of -v (capital letters) or –version
Usage:
D:\xampp\mysql\bin> mysql -V
or
D:\xampp\mysql\bin> mysql –version
2. Use??parameter
This actually has three similar parameters
–help
-i (capital I)
-?
All three are parameters for viewing help information
Usage:
D:\xampp\mysql\bin> mysql -?
or
D:\xampp\mysql\bin> mysql –help
or
D:\xampp\mysql\bin> mysql -I
3, SQL statement to query version information
select version();
There are also other ways to indirectly view MySQL database version information, such as using status; But these three methods are the most convenient and direct.
Reproduced in: https://www.cnblogs.com/Renyi-Fan/p/11064960.html
Read More:
- How to solve MySQL error 1049 (42000): unknown database ‘database’
- PHP connection to MySQL database error: call to undefined function MySQL_ connect()
- An error is reported when kettle connects Oracle database and MySQL database
- (error when importing database): MySQL 2006-mysql server has gone away
- java.lang.ClassNotFoundException : com.mysql.jdbc . driver project cannot connect to database, exception, lack of MySQL driver
- Solve MySQL installation error: initializing database prompts an error when installing mysql
- Error: the version of ZABBIX database does not match the current requirements
- How to Disable Protected View in Microsoft Excel
- express nodejs Failed to lookup view error in views directory (How to Fix)
- django.core.exceptions . improveconfigured: error loading MySQL DB module. Django configuring MySQL database
- Using AspectJ to transfer the data written to FTP service to MySQL database
- ERROR 1044 (42000): Access denied for user ”@’localhost’ to database ‘mysql’
- How to generate and view SSH keys in Ubuntu 16.04
- An error is reported when the jeecg boot project connects to the MySQL database running on docker
- mysql workbench Error Code: 1046. No database selected Select the default DB to be used
- How to view error information after Android application crash
- MySQL appears: ERROR 1049 (42000): Unknown database’XXX’ solution
- You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version
- Pikachu vulnerability is installed in the shooting range, and an error is reported when connecting to the MySQL database
- Mysql database error (communications link failure)