[mysqld] # set basedir to your installation path basedir=D:\\software\\mysql-5.7.18-winx64 # set datadir to the location of your data directory datadir=D:\\software\\mysql-5.7.18-winx64\\data port = 3306 max_allowed_packet = 32M
mysqld --initialize
2017-05-17T10:31:54.235041Z 1 [Note] A temporary password is generated for root@localhost: <r8j*Qrh)jdp
mysqld -install MySQL
net start MySQL
mysql -u root -p <r8j*Qrh)jdp
ALTER USER 'root'@'localhost' IDENTIFIED BY 'new_password';
Microsoft Windows [版本 6.3.9600] (c) 2013 Microsoft Corporation。保留所有权利。 D:\software\mysql-5.7.18-winx64\bin>mysqld --initialize D:\software\mysql-5.7.18-winx64\bin> D:\software\mysql-5.7.18-winx64\bin>mysqld -install MySQL D:\software\mysql-5.7.18-winx64\bin>net start MySQL MySQL 服务正在启动 .... MySQL 服务已经启动成功。 D:\software\mysql-5.7.18-winx64\bin>mysql -uroot -p Enter password: ************ Welcome to the MySQL monitor. Commands end with ; or \g. Your MySQL connection id is 3 Server version: 5.7.18 Copyright (c) 2000, 2017, 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. mysql> ALTER USER 'root'@'localhost' IDENTIFIED BY 'root'; Query OK, 0 rows affected (0.00 sec) mysql> exit Bye
机械节能产品生产企业官网模板...
大气智能家居家具装修装饰类企业通用网站模板...
礼品公司网站模板
宽屏简约大气婚纱摄影影楼模板...
蓝白WAP手机综合医院类整站源码(独立后台)...苏ICP备2024110244号-2 苏公网安备32050702011978号 增值电信业务经营许可证编号:苏B2-20251499 | Copyright 2018 - 2025 源码网商城 (www.ymwmall.com) 版权所有