Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
PHPMyAdmin 中有没有办法找出表和/或数据库的字符集?
唯一显示的是排序规则。但据我了解,排序规则只告诉数据库如何比较数据,而字符集告诉数据库如何存储数据。
尝试编写 SQL 命令:
SELECT * FROM information_schema.SCHEMATA S WHERE schema_name = "myDataBase";
您可能想查看此答案以及对此资源的评论;
或者,在大多数情况下,您也可以通过查看归类名称本身来找到它。假设排序规则名称是“latin1_swedish_ci”,那么数据库的字符集是“latin1”。