当前位置:网站首页>MYSQL8 遇到的服务启动后停止的问题
MYSQL8 遇到的服务启动后停止的问题
2022-07-21 15:36:00 【pier~呀】
MYSQL8 遇到的问题
出现原因3306端口号被占用。
具体操作步骤
1、使用管理员权限打开命令操作行,也就是cmd
2、进入你的MySQL地址,找不到的小伙伴可以去你的环境变量中系统变量中的Path路径一般安装时会进行自动给保存
3、切换到你的MYSQL_HOME/bin路径下面mysqld --install
看看这个命令是否可以正常启动,如果可以,那可以直接查看3306的端口号是否被占用了。netstat -ano|findstr 3306
4、杀死占用端口号的进程taskkill /f /pid 7828
pid的看法如下
5、最后启动MySQL即可net start MySQL80
就成功了。
Microsoft Windows [版本 10.0.22000.795]
(c) Microsoft Corporation。保留所有权利。
C:\WINDOWS\system32>D:
D:\> cd D:\Program Files (x86)\MySQL\MySQL8.0\bin
D:\Program Files (x86)\MySQL\MySQL8.0\bin>mysql --install
mysql: [ERROR] unknown option '--install'.
D:\Program Files (x86)\MySQL\MySQL8.0\bin>mysqld --install
Service successfully installed.
D:\Program Files (x86)\MySQL\MySQL8.0\bin>net start MySQL80
MySQL80 服务正在启动 .
MySQL80 服务无法启动。
服务没有报告任何错误。
请键入 NET HELPMSG 3534 以获得更多的帮助。
D:\Program Files (x86)\MySQL\MySQL8.0\bin>netstat -ano|findstr 3306
TCP 0.0.0.0:3306 0.0.0.0:0 LISTENING 7828
TCP 0.0.0.0:33060 0.0.0.0:0 LISTENING 7828
TCP [::]:3306 [::]:0 LISTENING 7828
TCP [::]:33060 [::]:0 LISTENING 7828
D:\Program Files (x86)\MySQL\MySQL8.0\bin>taskkill /f /pid 7828
成功: 已终止 PID 为 7828 的进程。
D:\Program Files (x86)\MySQL\MySQL8.0\bin>net start MySQL80
MySQL80 服务正在启动 .
MySQL80 服务已经启动成功。
D:\Program Files (x86)\MySQL\MySQL8.0\bin>
边栏推荐
- side effect of intrinsics
- Matlab GUI编程技巧(十一):axes/geoaxes/polaraxes绘图创建 GUI 坐标区
- json数据的遍历、删除、判断是否为空,以及递归
- Custom class loader implementation
- Common commands for starting services
- Redis的安装与使用【Linux和Windows环境】步骤
- Fragmentary knowledge - AB experiment
- 同花顺开户能直接开吗?开户安全吗?怎么办理开户??
- Keras深度学习实战——基于Inception v3实现性别分类
- JMeter Association (II)
猜你喜欢
自定义类加载器实现
关于mysql驱动版本报错解决,Cause: com.mysql.jdbc.exceptions.jdbc4、Unknown system variable ‘query_cache_size
Keras深度学习实战(10)——迁移学习
80.26亿元!国家互联网信息办公室对滴滴依法作出网络安全审查相关行政处罚
Redis的安装与使用【Linux和Windows环境】步骤
253会议室 II
Vlookup function
Airtest踩过的坑--启动闪退
[email protected]"/>
ZBar源码分析——img_scanner.c | [email protected]
Matlab GUI编程技巧(九):详解 uitable 函数显示表格及相关操作(创建表用户界面)
随机推荐
Is online stock account opening complicated? Excuse me, is it safe to open a stock account by mobile phone?
手机对比redmi note8与realme x2
Observer mode and publish / subscribe mode
C# out 关键字error CS0136 无法在此范围中声明该局部变量或参数,因为该名称在封闭局部范围中用于定义局部变量或参数
软件推荐-装机
Nonparametric test
实现逐行输出文本文件的内容
采坑阿里云 kex_exchange_identification: read: Connection reset by peer
【Caused by: com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: sql语句参数跟方法的不一样】
Yuanqi forest: it is indeed developing sugar free cola flavor products without preservatives
Piecemeal knowledge - SQL related
Matlab GUI programming skills (VII): matlablistbox operation - common operations of listbox and uilistbox
请问开户对年龄有限制么?请问,手机开户股票开户安全吗?
Array implementation of scalable circular queue
零碎知识——业务
B tree and b+ tree hash index
[log4j.properties configuration full version]
Template implementation of linked list
About troubleshooting MySQL driver version errors, cause: com mysql. jdbc. exceptions. jdbc4、Unknown system variable ‘query_ cache_ size
软件推荐-机械专业