Questions tagged «collation»

1
请从低层次解释Wordpress如何与MySQL字符集和排序规则一起使用
正如问题标题所暗示的那样,我希望了解Wordpress如何与MySQL字符集和排序规则选项一起使用。正如我将在下面显示的那样,事情对我来说没有太大意义。 我按照其安装页面上的说明安装了Wordpress: https://codex.wordpress.org/Installing_WordPress 作为说明的一部分,我按照他们的建议在命令行上手动创建MySQL数据库,即命令: mysql> CREATE DATABASE databasename; Query OK, 1 row affected (0.00 sec) mysql> GRANT ALL PRIVILEGES ON databasename.* TO "wordpressusername"@"hostname" -> IDENTIFIED BY "password"; Query OK, 0 rows affected (0.00 sec) mysql> FLUSH PRIVILEGES; Query OK, 0 rows affected (0.01 sec) mysql> EXIT 此外,按照指示,我编辑了“ wp-config.php”文件以使用UTF-8字符集: define( 'DB_CHARSET', …
By using our site, you acknowledge that you have read and understand our Cookie Policy and Privacy Policy.
Licensed under cc by-sa 3.0 with attribution required.