当前位置:   article > 正文

mysql8.0.17 win7免安装版_win10 mysql8 error

win10 mysql8 error

下载地址https://dev.mysql.com/downloads/mysql/
在这里插入图片描述
解压后新建data
!!!不需要my.ini

安装mysql

D:\tools\mysql-8.0.17-winx64\bin>mysqld --initialize-insecure

D:\tools\mysql-8.0.17-winx64\bin>mysql -u root -p
Enter password:
ERROR 2003 (HY000): Can't connect to MySQL server on 'localhost' (10061)

D:\tools\mysql-8.0.17-winx64\bin>net start mysql
服务名无效。

请键入 NET HELPMSG 2185 以获得更多的帮助。


D:\tools\mysql-8.0.17-winx64\bin>mysqld --install
Service successfully installed.

D:\tools\mysql-8.0.17-winx64\bin>net start mysql
MySQL 服务正在启动 ......
MySQL 服务已经启动成功。


D:\tools\mysql-8.0.17-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.17 MySQL Community Server - GPL

Copyright (c) 2000, 2019, 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>
  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
声明:本文内容由网友自发贡献,不代表【wpsshop博客】立场,版权归原作者所有,本站不承担相应法律责任。如您发现有侵权的内容,请联系我们。转载请注明出处:https://www.wpsshop.cn/article/detail/48151
推荐阅读
相关标签
  

闽ICP备14008679号