当前位置:Gxlcms > 数据库问题 > mysql5.5基础 使用win7的cmd连接mysql数据库

mysql5.5基础 使用win7的cmd连接mysql数据库

时间:2021-07-01 10:21:17 帮助过:12人阅读

版本 6.1.7601] 版权所有 (c) 2009 Microsoft Corporation。保留所有权利。 C:\Users\Administrator>f: F:\>cd F:\wamp\mysql\bin F:\wamp\mysql\bin>mysql -h 127.0.0.1 -u root -p -P 3306 Enter password: ***** Welcome to the MySQL monitor. Commands end with ; or \g. Your MySQL connection id is 1 Server version: 5.5.27 MySQL Community Server (GPL) Copyright (c) 2000, 2011, Oracle and/or its affiliates. All rights reserved. Oracle is a registered trademark of Oracle Corporation and/or its affiliates. Other names may be trademarks of their respective owners. Type help; or \h for help. Type \c to clear the current input statement. mysql>

 

 

关键命令解释

技术分享图片

 

 

小贴士

  端口号可以省略      -P 3306 可以不写

  连接本机的mysql    -h 127.0.0.1 可以不写

 

  


mysql,关系型数据库管理系统,优秀,值得学习。
学习资源:itcast和itheima视频库 + 清净的心地。
如果您有公开的资源,可以分享给我的话,用您的资源学习也可以。
博文是观看视频后,融入思考写成的。博文好,是老师讲得好。博文坏,是 给最苦 没认真。

mysql5.5基础 使用win7的cmd连接mysql数据库

标签:5.5   unit   ***   分享   current   判断   win7   log   comm   

人气教程排行