码迷,mamicode.com
首页 > 数据库 > 详细

Windows10 and MySQL安装

时间:2019-06-09 18:28:06      阅读:135      评论:0      收藏:0      [点我收藏+]

标签:依赖   base   config   报错   work   center   visual   imp   method   

【问题背景】:

一日,在win10上面将mysql5.6下载解压后,
技术图片
进行如下安装:
mysqld --initialize --console # 初始化数据库:
无果,报错。

【解决办法】:

Important

MySQL 8.0 Server requires the Microsoft Visual C++ 2015 Redistributable Package to run on Windows platforms. Users should make sure the package has been installed on the system before installing the server. The package is available at the Microsoft Download Center. Additionally, MySQL debug binaries require Visual Studio 2015 to be installed.
就是说,需要 Microsoft Visual C++ 2015 Redistributable Package保持依赖。

MySQL Installer Method

最简单和推荐的方法是下载MySQL Installer(适用于Windows),并让它安装和配置特定版本的MySQL服务器。

  1. Download MySQL Installer from https://dev.mysql.com/downloads/installer/ and execute it.
  2. 确定初始安装MySQL产品时使用的设置类型。例如:
    • Developer Default
    • Server Only
    • Custom
  3. 安装服务器实例(和产品),然后开始服务器配置,首先为服务器实例选择以下可用性级别之一:
    • Standalone MySQL Server / Classic MySQL Replication (default)
    • InnoDB cluster
  4. 按照屏幕上的说明完成配置过程。有关每个单独步骤的更多信息,请参见2.3.3.3.1节,MySQL Server Configuration with MySQL Installer

Windows10 and MySQL安装

标签:依赖   base   config   报错   work   center   visual   imp   method   

原文地址:https://www.cnblogs.com/daemonFlY/p/10994118.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!