Mysql 常用命令
2012-05-31 18:18
549 查看
>>shell 表示在命令行下执行
1.mysql服务是否启动
shell>>ps aux |grep mysqld
2.shell >>mysqladmin version
mysqladmin Ver 8.41 Distrib 5.0.21, for pc-linux-gnu on i686
Copyright (C) 2000 MySQL AB & MySQL Finland AB & TCX DataKonsult AB
This software comes with ABSOLUTELY NO WARRANTY. This is free software,
and you are welcome to modify and redistribute it under the GPL license
Server version 5.0.21-log
Protocol version 10
Connection Localhost via UNIX socket
UNIX socket /var/run/mysql/mysql.sock
Uptime: 3 days 8 hours 40 min 1 sec
Threads: 4 Questions: 713393 Slow queries: 0 Opens: 0 Flush tables: 1 Open tables: 256 Queries per second avg: 2.457
1.mysql服务是否启动
shell>>ps aux |grep mysqld
2.shell >>mysqladmin version
mysqladmin Ver 8.41 Distrib 5.0.21, for pc-linux-gnu on i686
Copyright (C) 2000 MySQL AB & MySQL Finland AB & TCX DataKonsult AB
This software comes with ABSOLUTELY NO WARRANTY. This is free software,
and you are welcome to modify and redistribute it under the GPL license
Server version 5.0.21-log
Protocol version 10
Connection Localhost via UNIX socket
UNIX socket /var/run/mysql/mysql.sock
Uptime: 3 days 8 hours 40 min 1 sec
Threads: 4 Questions: 713393 Slow queries: 0 Opens: 0 Flush tables: 1 Open tables: 256 Queries per second avg: 2.457
相关文章推荐
- mysql 常用命令集锦[绝对精华]
- 常用mysql命令大全
- MySQL 数据库常用命令小结
- mysql 常用命令
- mysql几个操作数据库命令符下的常用命令
- mysql常用命令
- 026-mysql常用命令
- mysql常用命令
- PHP-连接MySql常用命令及步骤总结
- [Mysql]Mysql常用命令
- MySQL导入.sql文件及常用命令
- Mysql常用命令
- 常用MySQL命令整理
- MySQL 的常用命令
- 常用的MYSQL 命令
- Ubuntu 14 安装jdk8,MySql的安装卸载等一些常用的命令
- Mysql常用命令
- MySql常用命令总结
- mysql 登录及常用命令
- MySQL 数据库常用命令小结