設定phpMyAdmin新增資料庫時的預設編碼為utf8 找到mysql的設定檔my.cnf或my.ini,設定如下。 [mysqld] collation-server=utf8_unicode_ci character-set-server=utf8