安装mysql后启动mysql提示服务没有响应控制功能的解决方案

这篇博客介绍了两种解决MySQL服务无法响应控制功能的方法。首先,在CMD中使用`mysqld --console`命令启动MySQL服务,观察启动过程中是否有错误信息。然后,在新的命令窗口中通过`mysql -u root -p`登录MySQL。如果问题依然存在,可以尝试下载并安装微软常用运行库合集,重启电脑以解决问题。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

第一种解决方案:

在cmd中输入启动命令后提示这个:

C:\web\mysql-8.0.17-winx64\bin>net start mysql
服务没有响应控制功能。

输入如下命令:

C:\web\mysql-8.0.17-winx64\bin>mysqld --console
2019-08-22T11:13:12.118311Z 0 [System] [MY-010116] [Server] C:\web\mysql-8.0.17-
winx64\bin\mysqld.exe (mysqld 8.0.17) starting as process 4200
2019-08-22T11:13:12.125312Z 0 [Warning] [MY-013242] [Server] --character-set-ser
ver: 'utf8' is currently an alias for the character set UTF8MB3, but will be an
alias for UTF8MB4 in a future release. Please consider using UTF8MB4 in order to
 be unambiguous.
2019-08-22T11:13:16.860582Z 0 [Warning] [MY-010068] [Server] CA certificate ca.p
em is self signed.
2019-08-22T11:13:17.482618Z 0 [System] [MY-010931] [Server] C:\web\mysql-8.0.17-
winx64\bin\mysqld.exe: ready for connections. Version: '8.0.17'  socket: ''  por
t: 3306  MySQL Community Server - GPL.
2019-08-22T11:13:17.571623Z 0 [System] [MY-011323] [Server] X Plugin ready for c
onnections. Bind-address: '::' port: 33060

看到这些提示后不要关闭这个窗口,另外再开一个命令窗口:

Microsoft Windows [版本 6.1.7601]
版权所有 (c) 2009 Microsoft Corporation。保留所有权利。

C:\Users\Administrator>cd c:\web\mysql-8.0.17-winx64\bin

c:\web\mysql-8.0.17-winx64\bin>mysql -u root -p
Enter password: ************
Welcome to the MySQL monitor.  Commands end with ; or \g.
Your MySQL connection id is 8
Server version: 8.0.17

Copyright (c) 2000, 2019, 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.

第二种解决方案(推荐):

下载微软常用运行库合集,安装之后,重启电脑,就不会有这个提示了

评论 3
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值