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

1、出现问题提示,无法启动,需要启动时间很长

2、第一步:Ctrl+E打开资源管理器,点击计算机,点击管理。

3、第二步:展开服务和应用程序,点击服务找到Mysql56,右击属性。

4、第三步:点击登陆,点击本地系统登陆。

5、第四步:回到服务启动MySql服务。

6、第五步:回到MySql的安装目录,点击mysql.exe。

7、第六步:输入\s,出输出MySql的基本信息,就说明启动完成。


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

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

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

发表评论

登录后才能评论

评论列表(0条)

保存