1.mysql的配置文件路径
/etc/my.cnf
一.启动与退出
1、启动 MySQL 服务
service mysql start
2、关闭 MySQL 服务
service mysql stop
3、登录MySQL
./mysql -u 用户名 -p