mysql5.0 测试_【MySQL】测试Windows版本的MySQL服务器是否工作

1.查看MySQL数据库中包含那些数据库C:\>C:\"Program Files"\MySQL\"MySQL Server 5.0"\bin\mysqlshow+--------------------+|     Databases      |+--------------------+| information_schema || mysql              || test               |+--------------------+2.查看mysql数据库中包含哪些表C:\>C:\"Program Files"\MySQL\"MySQL Server 5.0"\bin\mysqlshow -u root -pmysql mysqlDatabase: mysql+---------------------------+|          Tables           |+---------------------------+| columns_priv              || db                        || func                      || help_category             || help_keyword              || help_relation             || help_topic                || host                      || proc                      || procs_priv                || tables_priv               || time_zone                 || time_zone_leap_second     || time_zone_name            || time_zone_transition      || time_zone_transition_type || user                      |+---------------------------+3.查看MySQL版本信息C:\>C:\"Program Files"\MySQL\"MySQL Server 5.0"\bin\mysqladmin version status procC:\Program Files\MySQL\MySQL Server 5.0\bin\mysqladmin  Ver 8.41 Distrib 5.0.77, for Win32 on ia32Copyright (C) 2000-2006 MySQL ABThis software comes with ABSOLUTELY NO WARRANTY. This is free software,and you are welcome to modify and redistribute it under the GPL licenseServer version          5.0.77-community-ntProtocol version        10Connection              localhost via TCP/IPTCP port                3306Uptime:                 9 min 54 secThreads: 1  Questions: 16  Slow queries: 0  Opens: 12  Flush tables: 1  Open tables: 6  Queries per second avg: 0.027Uptime: 594  Threads: 1  Questions: 16  Slow queries: 0  Opens: 12  Flush tables: 1  Open tables: 6  Queries per second avg: 0.027+----+------+----------------+----+---------+------+-------+------------------+| Id | User | Host           | db | Command | Time | State | Info             |+----+------+----------------+----+---------+------+-------+------------------+| 10 | ODBC | localhost:2442 |    | Query   | 0    |       | show processlist |+----+------+----------------+----+---------+------+-------+------------------+4.使用“mysql test”测试数据库是否可以访问C:\>C:\"Program Files"\MySQL\"MySQL Server 5.0"\bin\mysql testWelcome to the MySQL monitor.  Commands end with ; or \g.Your MySQL connection id is 11Server version: 5.0.77-community-nt MySQL Community Edition (GPL)Type 'help;' or '\h' for help. Type '\c' to clear the buffer.mysql>

-- The End --

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值