CREATE DATABASE IF NOT EXISTS yourdbname DEFAULT CHARSET utf8 COLLATE utf8_general_ci;创建中文数据库show global variables like 'port';查询mysql使用端口
ALTER USER
'root'
@
'localhost'
IDENTIFIED BY
'MyNewPassword'