安装 mysql-8.0.23-winx64
发布日期:2021-05-10 07:36:28 浏览次数:26 分类:精选文章

本文共 2396 字,大约阅读时间需要 7 分钟。

MySQL���������������������������������

Step 1: ������MySQL

������������MySQL������������������������������������������ installs���������������������������������������

  • ������������������������MySQL���������������������
  • ������������������������������������installer���������������������
  • Step 2: ������MySQL���������

  • ������������������������������������������
  • ������������������������������������������������������C:\program files\mysql������
  • ������������������������������������������������������������������������������
  • Step 3: ������my.ini������

  • ���������������������������������������my.ini������������������������������mysql-8.x������������ 2.������my.ini������������������������������

    [mysqld]
    port=3306
    basedir=C:\Program Files\mysql-8.x
    datadir=C:\Program Files\mysql-8.x\data
    max_connections=200
    max_connect_errors=10
    character-set-server=utf8mb4
    default-storage-engine=INNODB
    #mysql_native_password
    default_authentication_plugin=mysql_native_password
  • ������basedir���datadir���������������������������������������������������

  • Step 4: ���������������������������������������

  • ������������������������������������������������������������������
  • ������������������������������������bin���������
    cd C:\Program Files\mysql-8.x\bin
  • Step 5: ������������������

  • ���bin������������������������������������������������������
    mysqld --initialize --console
  • ������������vcruntime140_1.dll���������������������������������������������C:\Windows\System32\������������
  • ������������������������������
    mysqld --initialize --console
  • Step 6: ������������

  • ���������������������MySQL���������
    mysqld --install
  • Step 7: ������MySQL������

  • ���bin���������������������������������������������
    net start MySql
  • Step 8: ���������������

  • ������������������������������������������������������
    mysql -u root -p

    ���������������������������������

  • Step 9: ������������������

  • ���MySQL���������������������������root������������������
    ALTER USER 'root'@'localhost' IDENTIFIED WITH mysql_native_password BY '���������';
  • Step 10: ������������������

  • ������������������������������������
    right-click > New > System variable
  • ������PATH������������������������mysql���bin���������
  • ���������������

    • ������������������������������������������������������MySQL���������������������������������������
    • ������������MySQL������������������������������������������
      net stop MySql

    ������������������������������������������������MySQL������������

    上一篇:Mysql 库和表的导入导出(windows)
    下一篇:axios(codewhy老师学习笔记)

    发表评论

    最新留言

    不错!
    [***.144.177.141]2025年04月22日 09时56分31秒