-DSYSCONFDIR=/mysql/conf \ 所以在conf下建立my.cnf文件 vi my.cnf [client]port=3306socket=/mysql/conf/mysql.sock #The MySQL server[mysqld]port=3306user=mysqlsocket=/mysql/conf/mysql.sockpid-file=/mysql/conf/mysql.pidbasedir=/mysqldatadir=/mysql/datatmpdir=/mys…
MySQL 用户管理与权限管理 -- 操作环境mysql> show variables like 'version'; +---------------+--------+| Variable_name | Value |+---------------+--------+| version | 5.6.25 |+---------------+--------+1 row in set (0.04 sec) 背景知识补充:user 表中 host 列的值的意义% …