win7中怎么连接MySQL服务器?

win7中怎么连接MySQL服务器?,第1张

你先运行 CMD

然后 进入到那个 mysql 的目录下, 再运行。

例如:

D:\>cd mys*

D:\mysql-5.1.50-win32>cd bin

D:\mysql-5.1.50-win32\bin>喊肢mysql

Welcome to the MySQL monitor. Commands end with or \g.

Your MySQL connection id is 1

Server version: 5.1.50-community MySQL Community Server (GPL)

Copyright (c) 2000, 2010, Oracle and/or its affiliates. All rights reserved.

This software comes with ABSOLUTELY NO WARRANTY. This is free software,

and you are welcome to modify and redistribute it under the GPL v2 license

Type 'help' or '\h' for help. Type '\c'罩渗肢物世 to clear the current input statement.

mysql>use test

Database changed

建议下载ZIP版的MYSQL程序,随便解压到并隐绝一个文件夹下,里面有MYSQLD.EXE(或者MYSQLD-NT.EXE等其他服务程序),运行这个程序使用--install参数就能安装位服务,以后每携渗次开机自动执行。绝姿命令示例:

mysqld.exe --install


欢迎分享,转载请注明来源:内存溢出

原文地址: https://outofmemory.cn/tougao/12337585.html

(0)
打赏 微信扫一扫 微信扫一扫 支付宝扫一扫 支付宝扫一扫
上一篇 2023-05-24
下一篇 2023-05-24

发表评论

登录后才能评论

评论列表(0条)

保存