C:\Users\Administrator\Desktop\mysql-8.0.28-winx64\mysql-8.0.28-winx64\bin>mysqld --initialize --console
2022-04-15T07:17:15.065574Z 0 [System] [MY-013169] [Server] C:\Users\Administrator\Desktop\mysql-8.0.28-winx64\mysql-8.0.28-winx64\bin\mysqld.exe (mysqld 8.0.28) initializing of server in progress as process 3700
2022-04-15T07:17:15.115630Z 1 [System] [MY-013576] [InnoDB] InnoDB initialization has started.
2022-04-15T07:17:16.432828Z 1 [System] [MY-013577] [InnoDB] InnoDB initialization has ended.
2022-04-15T07:17:20.931335Z 6 [Note] [MY-010454] [Server] A temporary password is generated for root@localhost: Ne_1%yC0%bfT
C:\Users\Administrator\Desktop\mysql-8.0.28-winx64\mysql-8.0.28-winx64\bin>
C:\Users\Administrator\Desktop\mysql-8.0.28-winx64\mysql-8.0.28-winx64\bin>mysqld -install
Service successfully installed.
C:\Users\Administrator\Desktop\mysql-8.0.28-winx64\mysql-8.0.28-winx64\bin>net start mysql
MySQL 服务正在启动 ..
MySQL 服务已经启动成功。
C:\Users\Administrator\Desktop\mysql-8.0.28-winx64\mysql-8.0.28-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.28
Copyright (c) 2000, 2022, 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>
相关文章
关键词:
评论已关闭!