mysql 命令 小结
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'
修改mysql密码
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'