Linux启动/停止/重启Mysql数据库的方法
来源:互联网 发布:淘宝大学官网视频教程 编辑:程序博客网 时间:2024/06/07 02:58
原文:http://www.cnblogs.com/linuxnewbie/p/5759784.html
1、查看mysql版本
方法一:status;
方法二:select version();
2、Mysql启动、停止、重启常用命令
a、启动方式
1、使用 service 启动:
[root@localhost /]# service mysqld start (5.0版本是mysqld)
[root@szxdb etc]# service mysql start (5.5.7版本是mysql)
2、使用 mysqld 脚本启动:
/etc/inint.d/mysqld start
3、使用 safe_mysqld 启动:
safe_mysqld&
b、停止
1、使用 service 启动:
service mysqld stop
2、使用 mysqld 脚本启动:
/etc/inint.d/mysqld stop
3、mysqladmin shutdown
c、重启
1、使用 service 启动:
service mysqld restart
service mysql restart (5.5.7版本命令)
2、使用 mysqld 脚本启动:
/etc/init.d/mysqld restart
0 0
- Linux启动/停止/重启Mysql数据库的方法
- Linux启动/停止/重启Mysql数据库的方法
- Linux启动/停止/重启Mysql数据库的方法
- Linux启动/停止/重启Mysql数据库的方法
- Linux启动/停止/重启Mysql数据库的方法
- Linux启动/停止/重启Mysql数据库的方法
- Linux启动/停止/重启Mysql数据库的方法
- Linux启动/停止/重启Mysql数据库的方法
- Linux启动/停止/重启Mysql数据库的方法
- Linux启动/停止/重启Mysql数据库的方法
- Linux启动/停止/重启Mysql数据库的方法
- Linux启动/停止/重启Mysql数据库的方法
- Linux启动/停止/重启Mysql数据库的方法
- Linux启动/停止/重启Mysql数据库的方法
- Linux启动/停止/重启Mysql数据库的方法
- Linux启动/停止/重启Mysql数据库的方法
- Linux启动/停止/重启Mysql数据库的方法
- Linux启动/停止/重启Mysql数据库的方法
- 1036. Boys vs Girls (25)
- Leetcode-DSF-Trie-Backtrack
- CreateWaitableTimer和SetWaitableTimer函数(定时器)
- java内存模型
- 阿里云Ubuntu搭建git服务器
- Linux启动/停止/重启Mysql数据库的方法
- 从零学起vue(学习笔记2)
- MySQL主从同步(binlog方式)与主从切换
- Mac中为SourceTree设置代理登陆
- hadoop源码解析---INodeReference机制
- Android +camara
- Android系统设置命令— android.provider.Settings
- Maven打包war
- 日间模式切换