nel_tool(服务器管理器) 使用中文

 my.ini:

## UTF 8 Settings
init-connect=\'SET NAMES utf8\'
collation_server=utf8_unicode_ci
character_set_server=utf8
skip-character-set-client-handshake
character_sets-dir="D:/Program Files (x86)/xampp/mysql/share/charsets"

php连接mysql:

mysql_query("SET NAMES 'utf8'");

index.php:

$tpl->assign('nel_tool_refresh', '<meta http-equiv=refresh content="'. $current_refresh_rate .';charset=UTF-8">');

sql:

drop database if exists nel_tool;
create database nel_tool default character set utf8;
use nel_tool;



你可能感兴趣的:(nel_tool(服务器管理器) 使用中文)