mysql的一些常见命令
2016-02-25 12:55
453 查看
1.启动
/etc/init.d/mysql start
2.关闭
/usr/bin/mysqladmin -u root -p shutdown
3.察看mysql是否在自动启动列表中
/sbin/chkconfig –list
4.把MySQL添加到你系统的启动服务组里面去
/sbin/chkconfig – add mysql
5.把MySQL从启动服务组里面删除。
/sbin/chkconfig – del mysql
/etc/init.d/mysql start
2.关闭
/usr/bin/mysqladmin -u root -p shutdown
3.察看mysql是否在自动启动列表中
/sbin/chkconfig –list
4.把MySQL添加到你系统的启动服务组里面去
/sbin/chkconfig – add mysql
5.把MySQL从启动服务组里面删除。
/sbin/chkconfig – del mysql
相关文章推荐
- Mysql创建新用户后无法登录,提示 Access denied for user 'username'@'localhost' (using password: YES)
- MySQL知识(十)——连接查询与子查询
- MySQL知识(九)——单表查询
- Mysql 5.7.11 手动安装方法
- mysql 学习库
- mysql线上一些隐患查询sql
- MySQL允许root帐号远程登录
- mysql常用操作
- mysql、密码重置
- MySQL自带数据库test编码问题
- 重置mysql主从同步(MySQL Reset Master-Slave Replication)
- MySQL创建用户与授权
- MySQL 索引优化
- MySQL创建全文索引
- Mac下MySQL卸载方法 转载
- mac os x 安装mysql遇到 Access denied for user 'root'@'localhost' (using password: YES)的解决方法
- MySql的安装及配置详细指引!
- mysql截取字符串值修改字段值
- mysql优化连接数防止访问量过高的方法
- mysqlbinlog工具基于日志恢复详细解释