Windows10 and MySQL安装

Posted daemonfly

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了Windows10 and MySQL安装相关的知识,希望对你有一定的参考价值。

【问题背景】:

一日,在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安装的主要内容,如果未能解决你的问题,请参考以下文章

macbook air 2012 mid 安装 windows10 双系统遇到错误 no bootable device insert boot disk and press any key(示例代码

win10安装wget,从此可以更快的下载文件 and windows10 下 zip命令行参数详解

如何在windows里面安装MySQL

如何在windows里面安装MySQL

win10安装wget,从此可以更快的下载文件 and windows10 下 zip命令行参数详解

[TIA PORTAL][CONVERT] Convert Char Array to DInt...DInt to Char Array..Useful and easy function(代码片段