mysql 压缩包方式安装
C:\Users\Administrator>net start mysql
MySQL 服务正在启动 ........
MySQL 服务无法启动。
请键入 NET HELPMSG 3523 以获得更多的帮助。
C:\Users\Administrator>sc query mysql
SERVICE_NAME: mysql
TYPE : 10 WIN32_OWN_PROCESS
STATE : 4 RUNNING
(STOPPABLE, PAUSABLE, ACCEPTS_SHUTDOWN)
WIN32_EXIT_CODE : 0 (0x0)
SERVICE_EXIT_CODE : 0 (0x0)
CHECKPOINT : 0x0
WAIT_HINT : 0x0
C:\Users\Administrator>mysql -uroot -p
Enter password: ******
Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is 8
Server version: 8.3.0 MySQL Community Server - GPL
Copyright (c) 2000, 2024, Oracle and/or its affiliates.
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.
mysql>
https://baijiahao.baidu.com/s?id=1765200415437032854&wfr=spider&for=pc
mysqld --remove
sc create MySQL binPath= " D:\install\mysql8.30\bin\mysqld.exe"注册成mysql服务,随机启动。
sc query mysql
撸起袖子加油干!!!