How to check the character set of a table in mysql

王林
Release: 2020-09-30 11:36:56
Original
10572 people have browsed it

Mysql method to check the character set of a table: execute the [show table status from library name like table name;] statement. If you want to check the character set of the library, you can execute the statement [show database status from library name like table name;].

How to check the character set of a table in mysql

View the character set of the table

(Recommended tutorial:mysql tutorial)

show table status from 库名 like 表名;
Copy after login

View The character set of the library

show database status from 库名 like 表名;
Copy after login

View the character set of all columns in the table

show full columns from 表名;
Copy after login

Related recommendations:php training

The above is the detailed content of How to check the character set of a table 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
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!