Home > Database > Mysql Tutorial > body text

How to check the default storage engine of mysql

王林
Release: 2020-09-30 15:25:18
Original
7016 people have browsed it

How to view the default storage engine of mysql: First execute the [mysql -h localhost -u root -p] command to log in to mysql; then execute the [show engines \G] command to view the default storage engine.

How to check the default storage engine of mysql

First log in to the MYSQL database and use the command

(recommended tutorial: mysql tutorial)

mysql -h localhost(mysql的地址) -u 用户名 -p
Copy after login

Then execute the command

show engines;
Copy after login

or

show engines \G;
Copy after login

so that you can clearly see the storage engine supported by the MYSQL you installed.

support: The default option is the default storage engine of the MYSQL database

How to check the default storage engine of mysql

##Related recommendations:

php training

The above is the detailed content of How to check the default storage engine of 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
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!