当前位置:网站首页>MySQL has no service and the ultimate solution sharing that the service cannot be started
MySQL has no service and the ultimate solution sharing that the service cannot be started
2022-06-09 19:15:00 【1024 Q】
1、 Universal starting method
2、 A radical solution
summary
First , Make sure you have successfully installed MySQL.
1、 Universal starting methodwin+R Open the run window , Input services.msc
Find... In it mysql Service name of , For example, my service name is MySQL80

Open as Administrator cmd, Enter the command net start MySQL80
You can start the service successfully .
2、 A radical solutionIf your Mysql Show no service , The system is not registered mysql Into the service , There is no... In the current path mysql service .
Then you need to mysql Sign up to win in .
stay mysql Of bin Under the table of contents Enter the command mysqld --install
appear service successfully install On behalf of the successful installation .

At this time you enter command net start mysql , The service still fails to start .
The reason is that mysql No data is stored in the directory of data file , So you need to create data Folder .
Use command mysqld --initialize-insecure You can generate data Folder Pictured :

Then open cmd Enter the command net start mysql That's all right. .
in addition , Remember to put mysql In the environment variable ,win The system is relatively simple , Open environment variable , Pictured

take mysql Of bin Just put the file path in the system variable .
So that's the solution mysql There are no services and services that cannot be started .
summaryThis is about MySQL This is the end of the article on the ultimate solution without services and services that cannot be started , More about MySQL No service and service cannot be started. Please search the previous articles on SDN or continue to browse the following related articles. I hope you will support SDN more in the future !
边栏推荐
猜你喜欢

Technology sharing | system architecture under test and data flow analysis

MQTT 图形化客户端-MQTTX安装使用教程

二叉树的按层遍历

第一次畫板子小記

Demagnetization and balance adjustment steps of oscilloscope current probe

便利蜂存在违规收集个人信息行为遭通报,关联公司屡收罚单

The problem of the longest valid bracket

SQL第四练:字符串处理函数

用指纹做Windows双因素身份认证,既安全又方便
MySQL优化教程之慢查询日志实践
随机推荐
MySQL parallel replication (MTS) principle (full version)
How about JPMorgan futures? Is it safe to open futures accounts?
mtb12_PearsonR_correlAtion coefficient_heatmap_Distribution Bin_Clean Step类型转换慎_spatial dist_改变para值
投资5.5亿元!默克宣布在中国张家港建先进半导体一体化基地
个人养老保险预期收益比较高的产品有哪些?
What physical stores will be more profitable in 2022? A small cost shop suitable for women, yeqifang is healthy
fpm工具安装
Comment on "8 reasons why developers don't like low code and no code"
155_模型_Power BI & Power Pivot 进销存之安全库存
Hu Jie, former senior economist of the Federal Reserve: future financial trends from the upgrading of usdd
左手技术,右手生态!英特尔能否赢下这场“数据”战争?
一文详解PHP连接MySQL数据库的三种方式
投资4亿欧元!英特尔携手西班牙超算中心开发RISC-V处理器,将用于十万亿亿次超算
TKE搭建EFK日志服务
Krypton Evening News - Apple won the lawsuit, and the US judge rejected the class action on iPhone and iPad security defects; It is reported that JD will pilot the catering takeout business
最长有效括号的问题
IEDA 安装actiBPM插件
Singular Value Decomposition(SVD)
精益产品开发体系最佳实践及原则
20220603 how to query public IP