总结报错原因:
在my.init文件下新增data目录(datadir = F:\mysqldata )

最新解压版本的mysql 解压安装的时候报错
D:\mysql\mysql-5.7.10-winx64\bin>net start mysql
MySQL 服务正在启动 ….
MySQL 服务无法启动。

服务没有报告任何错误。

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

mysql下面是没有data文件夹的,此文件夹不需要自己建

D:\mysql\mysql-5.7.10-winx64\bin>mysqld –console
2015-12-21T07:25:01.465815Z 0 [Warning] TIMESTAMP with implicit DEFAULT value is deprecated. Please use –explicit_defaults_for_timestamp server option (see documentation for more details).
2015-12-21T07:25:01.465815Z 0 [Warning] ‘NO_ZERO_DATE’, ‘NO_ZERO_IN_DATE’ and ‘ERROR_FOR_DIVISION_BY_ZERO’ sql modes should be used with strict mode. They willbe merged with strict mode in a future release.
2015-12-21T07:25:01.465815Z 0 [Warning] ‘NO_AUTO_CREATE_USER’ sql mode was not set.
2015-12-21T07:25:01.465815Z 0 [Warning] Insecure configuration for –secure-file-priv: Current value does not restrict location of generated files. Consider setting it to a valid, non-empty path.
2015-12-21T07:25:01.467815Z 0 [Note] mysqld (mysqld 5.7.10-log) starting as process 3708 …
2015-12-21T07:25:01.491816Z 0 [Warning] No argument was provided to –log-bin, and –log-bin-index was not used; so replication may break when this MySQL server acts as a master and has his hostname changed!! Please use ‘–log-bin=PC201305252052-bin’ to avoid this problem.
2015-12-21T07:25:01.527818Z 0 [Note] InnoDB: Mutexes and rw_locks use Windows interlocked functions
2015-12-21T07:25:01.528818Z 0 [Note] InnoDB: Uses event mutexes
2015-12-21T07:25:01.531819Z 0 [Note] InnoDB: _mm_lfence() and _mm_sfence() are used for memory barrier
2015-12-21T07:25:01.535819Z 0 [Note] InnoDB: Compressed tables use zlib 1.2.3
2015-12-21T07:25:01.540819Z 0 [Note] InnoDB: Number of pools: 1
2015-12-21T07:25:01.544819Z 0 [Note] InnoDB: Not using CPU crc32 instructions
2015-12-21T07:25:01.654826Z 0 [Note] InnoDB: Initializing buffer pool, total size = 128M, instances = 1, chunk size = 128M
2015-12-21T07:25:01.705829Z 0 [Note] InnoDB: Completed initialization of buffer pool
2015-12-21T07:25:01.834836Z 0 [Note] InnoDB: Highest supported file format is Barracuda.
2015-12-21T07:25:01.991845Z 0 [Note] InnoDB: Creating shared tablespace for temporary tables
2015-12-21T07:25:01.994845Z 0 [Note] InnoDB: Setting file ‘.\ibtmp1’ size to 12MB. Physically writing the file full; Please wait …
2015-12-21T07:25:02.264861Z 0 [Note] InnoDB: File ‘.\ibtmp1’ size is now 12 MB.
2015-12-21T07:25:02.275861Z 0 [Note] InnoDB: 96 redo rollback segment(s) found.
96 redo rollback segment(s) are active.
2015-12-21T07:25:02.276861Z 0 [Note] InnoDB: 32 non-redo rollback segment(s) are active.
2015-12-21T07:25:02.284862Z 0 [Note] InnoDB: Waiting for purge to start
2015-12-21T07:25:02.335865Z 0 [Note] InnoDB: 5.7.10 started; log sequence number 1209980
2015-12-21T07:25:02.338865Z 0 [Note] Plugin ‘FEDERATED’ is disabled.
2015-12-21T07:25:02.339865Z 0 [Note] InnoDB: Loading buffer pool(s) from F:\mysqldata\ib_buffer_pool
2015-12-21T07:25:02.339865Z 0 [Note] InnoDB: not started mysqld: Table ‘mysql.plugin’ doesn’t exist
2015-12-21T07:25:02.348865Z 0 [Note] InnoDB: Buffer pool(s) load completed at 151221 15:25:02
2015-12-21T07:25:02.351865Z 0 [ERROR] Can’t open the mysql.plugin table. Please run mysql_upgrade to create it.
2015-12-21T07:25:02.396868Z 0 [Warning] Gtid table is not ready to be used. Table ‘mysql.gtid_executed’ cannot be opened.
2015-12-21T07:25:02.401868Z 0 [Warning] Failed to set up SSL because of the following SSL library error: SSL context is not usable without certificate and private key
2015-12-21T07:25:02.402868Z 0 [Note] Server hostname (bind-address): ‘*’; port:3306
2015-12-21T07:25:02.415869Z 0 [Note] IPv6 is available.
2015-12-21T07:25:02.416869Z 0 [Note] - ‘::’ resolves to ‘::’;
2015-12-21T07:25:02.419869Z 0 [Note] Server socket created on IP: ‘::’.
2015-12-21T07:25:02.430870Z 0 [Warning] Failed to open optimizer cost constant tables

2015-12-21T07:25:02.436870Z 0 [ERROR] Fatal error: Can’t open and lock privilege tables: Table ‘mysql.user’ doesn’t exist
2015-12-21T07:25:02.440871Z 0 [ERROR] Aborting

2015-12-21T07:25:02.441871Z 0 [Note] Binlog end
2015-12-21T07:25:02.457872Z 0 [Note] Shutting down plugin ‘ngram’
2015-12-21T07:25:02.457872Z 0 [Note] Shutting down plugin ‘partition’
2015-12-21T07:25:02.460872Z 0 [Note] Shutting down plugin ‘BLACKHOLE’
2015-12-21T07:25:02.463872Z 0 [Note] Shutting down plugin ‘ARCHIVE’
2015-12-21T07:25:02.468872Z 0 [Note] Shutting down plugin ‘PERFORMANCE_SCHEMA’
2015-12-21T07:25:02.468872Z 0 [Note] Shutting down plugin ‘MRG_MYISAM’
2015-12-21T07:25:02.475873Z 0 [Note] Shutting down plugin ‘MyISAM’
2015-12-21T07:25:02.476873Z 0 [Note] Shutting down plugin ‘INNODB_SYS_VIRTUAL’
2015-12-21T07:25:02.480873Z 0 [Note] Shutting down plugin ‘INNODB_SYS_DATAFILES’

2015-12-21T07:25:02.482873Z 0 [Note] Shutting down plugin ‘INNODB_SYS_TABLESPACES’
2015-12-21T07:25:02.493874Z 0 [Note] Shutting down plugin ‘INNODB_SYS_FOREIGN_COLS’
2015-12-21T07:25:02.495874Z 0 [Note] Shutting down plugin ‘INNODB_SYS_FOREIGN’
2015-12-21T07:25:02.498874Z 0 [Note] Shutting down plugin ‘INNODB_SYS_FIELDS’
2015-12-21T07:25:02.503874Z 0 [Note] Shutting down plugin ‘INNODB_SYS_COLUMNS’
2015-12-21T07:25:02.509875Z 0 [Note] Shutting down plugin ‘INNODB_SYS_INDEXES’
2015-12-21T07:25:02.513875Z 0 [Note] Shutting down plugin ‘INNODB_SYS_TABLESTATS’
2015-12-21T07:25:02.518875Z 0 [Note] Shutting down plugin ‘INNODB_SYS_TABLES’
2015-12-21T07:25:02.521875Z 0 [Note] Shutting down plugin ‘INNODB_FT_INDEX_TABLE’
2015-12-21T07:25:02.524875Z 0 [Note] Shutting down plugin ‘INNODB_FT_INDEX_CACHE’
2015-12-21T07:25:02.528876Z 0 [Note] Shutting down plugin ‘INNODB_FT_CONFIG’
2015-12-21T07:25:02.531876Z 0 [Note] Shutting down plugin ‘INNODB_FT_BEING_DELETED’
2015-12-21T07:25:02.537876Z 0 [Note] Shutting down plugin ‘INNODB_FT_DELETED’
2015-12-21T07:25:02.539876Z 0 [Note] Shutting down plugin ‘INNODB_FT_DEFAULT_STOPWORD’
2015-12-21T07:25:02.542876Z 0 [Note] Shutting down plugin ‘INNODB_METRICS’
2015-12-21T07:25:02.545877Z 0 [Note] Shutting down plugin ‘INNODB_TEMP_TABLE_INFO’
2015-12-21T07:25:02.553877Z 0 [Note] Shutting down plugin ‘INNODB_BUFFER_POOL_STATS’
2015-12-21T07:25:02.555877Z 0 [Note] Shutting down plugin ‘INNODB_BUFFER_PAGE_LRU’
2015-12-21T07:25:02.558877Z 0 [Note] Shutting down plugin ‘INNODB_BUFFER_PAGE’
2015-12-21T07:25:02.561878Z 0 [Note] Shutting down plugin ‘INNODB_CMP_PER_INDEX_RESET’
2015-12-21T07:25:02.563878Z 0 [Note] Shutting down plugin ‘INNODB_CMP_PER_INDEX’

2015-12-21T07:25:02.566878Z 0 [Note] Shutting down plugin ‘INNODB_CMPMEM_RESET’
2015-12-21T07:25:02.572878Z 0 [Note] Shutting down plugin ‘INNODB_CMPMEM’
2015-12-21T07:25:02.574878Z 0 [Note] Shutting down plugin ‘INNODB_CMP_RESET’
2015-12-21T07:25:02.577878Z 0 [Note] Shutting down plugin ‘INNODB_CMP’
2015-12-21T07:25:02.580879Z 0 [Note] Shutting down plugin ‘INNODB_LOCK_WAITS’
2015-12-21T07:25:02.582879Z 0 [Note] Shutting down plugin ‘INNODB_LOCKS’
2015-12-21T07:25:02.584879Z 0 [Note] Shutting down plugin ‘INNODB_TRX’
2015-12-21T07:25:02.586879Z 0 [Note] Shutting down plugin ‘InnoDB’
2015-12-21T07:25:02.587879Z 0 [Note] InnoDB: FTS optimize thread exiting.
2015-12-21T07:25:02.589879Z 0 [Note] InnoDB: Starting shutdown…
2015-12-21T07:25:02.690885Z 0 [Note] InnoDB: Dumping buffer pool(s) to F:\mysqldata\ib_buffer_pool
2015-12-21T07:25:02.698885Z 0 [Note] InnoDB: Buffer pool(s) dump completed at 151221 15:25:02
2015-12-21T07:25:03.850951Z 0 [Note] InnoDB: Shutdown completed; log sequence number 1209999
2015-12-21T07:25:03.853951Z 0 [Note] InnoDB: Removed temporary tablespace data file: “ibtmp1”
2015-12-21T07:25:03.863952Z 0 [Note] Shutting down plugin ‘MEMORY’
2015-12-21T07:25:03.866952Z 0 [Note] Shutting down plugin ‘CSV’
2015-12-21T07:25:03.876953Z 0 [Note] Shutting down plugin ‘sha256_password’
2015-12-21T07:25:03.879953Z 0 [Note] Shutting down plugin ‘mysql_native_password’
2015-12-21T07:25:03.882953Z 0 [Note] Shutting down plugin ‘binlog’
2015-12-21T07:25:03.892954Z 0 [Note] mysqld: Shutdown complete

D:\mysql\mysql-5.7.10-winx64\bin>mysqld –initialize
2015-12-21T07:28:50.310904Z 0 [Warning] TIMESTAMP with implicit DEFAULT value is deprecated. Please use –explicit_defaults_for_timestamp server option (see documentation for more details).
2015-12-21T07:28:50.311904Z 0 [Warning] ‘NO_ZERO_DATE’, ‘NO_ZERO_IN_DATE’ and ‘ERROR_FOR_DIVISION_BY_ZERO’ sql modes should be used with strict mode. They willbe merged with strict mode in a future release.
2015-12-21T07:28:50.311904Z 0 [Warning] ‘NO_AUTO_CREATE_USER’ sql mode was not set.
2015-12-21T07:28:50.318904Z 0 [ERROR] –initialize specified but the data directory has files in it. Aborting.
2015-12-21T07:28:50.324905Z 0 [ERROR] Aborting

上面的错误是自己建了data文件夹之后 用 mysqld –initialize报错。

删除之前建的data文件夹,然后注释my.init文件下的datadir,由mysql自己创建即可。
D:\mysql-5.7.10-winx64\bin>mysqld –initialize
D:\mysql-5.7.10-winx64\bin>net start mysql
MySQL 服务正在启动 .
MySQL 服务已经启动成功。

mysql-5.7.10-winx64 MySQL服务无法启动,服务没有报告任何错误的解决办法相关推荐

  1. mysql 5.5.42,mysql-5.1.42安装完成后,出现如下错误的解决办法

    mysql-5.1.42安装完成后,出现如下错误: bash-3.00# ./mysqld_safe & [1] 2307 bash-3.00# 100114 23:04:33 mysqld_ ...

  2. 利用navicat向mysql数据库导入数据时出现1062 - Duplicate entry '0' for key 'PRIMARY'错误的解决办法

    1062 - Duplicate entry '0' for key 'PRIMARY',明明导入的数据值不一样,但错误提示主键已存在,不能插入.不知道为什么有些数据插入不成功,原因我也不知道. 解决 ...

  3. MySQL 服务无法启动--服务没有报告任何错误 ---Failed to find valid data directory.

    系统重装后重新安装mysql环境,各种踩坑.服务无法启动 mysqld --console 查看详细错误:Failed to find valid data directory 发现mysql目录没有 ...

  4. mysql服务启动报错:“服务读取描述失败,错误代码:2”的解决办法?

    mysql服务启动报错:"服务读取描述失败,错误代码:2"的解决办法? 这个问题是mysql的服务被损坏了,需要重建服务,不需要重新安装mysql,方法步骤如下 第1步:删除已有的 ...

  5. net start mysql 遇到 MySql 服务正在启动 MySql 服务无法启动 服务没有报告任何错误 解决方式

    这个问题我在这两天遇到了两三次,由于记性真的不太好,每次花很多时间解决之后,第二次再遇到又要重新检索解决方法.而且每次出现问题的小细节之处也都不相同. 因此在刚刚几分钟前再一次解决这个问题的时候,我就 ...

  6. MySQL 服务无法启动且不报任何错误解决方法之一

    MySQL 服务无法启动且不报任何错误解决方法之一 以解压缩方式安装MySQL时可能会出现以下错误: 无法启动而且没有任何报错,如下图所示 解决方法: 第一步,到 MySQL 目录下运行下面的命令:m ...

  7. mysql 1067 datadir_MySQL修改datadir后启动服务发生1067错误的解决办法

    当前windows下最新版的mysql (5.6.22.0)在安装时没有指定安装路径和数据存放路径的选项,而是默认把程序安装在C盘Program Files下,数据也存放在C:/ProgramData ...

  8. mysql 1045错误ODBC_MySQL ERROR 1045 (28000) 错误的解决办法

    错误现象: ERROR 1045 (28000): Access denied for user'ODBC'@'localhost'(using password: NO) ERROR 1045 (2 ...

  9. 1067 mysql,mysql免安装版1067错误终极解决办法图文教程

    [从笔记本到pc] 笔记本一直都使用MySQL免安装版5.6.17,使用如下方法安装: 今天把同一个zip包传到pc上,按上面的方法安装居然报1067,按上面方法多次尝试还是不行. 百度,google ...

最新文章

  1. 解决ARC下performselector-may-cause-a-leak-because-its-selector-is-unknown 警告
  2. MCtalk教育快报 | 0827
  3. mysql分区、分表学习
  4. LOJ#2132. 「NOI2015」荷马史诗
  5. 强化学习 求解迷宫问题_使用天真强化学习的迷宫求解器
  6. 【2017-05-19】WebForm复合控件、用DropDownList实现时间日期选择。
  7. [转载] Python ascii()函数
  8. python删除excel第一行_如何用 Python 清洗数据?
  9. 也看《猎场》:几经秋冬,青春不在,一切皆贾,蓦然回首,伊人如故
  10. 去阿里面试,被一道 Spring 面试题难倒了
  11. bootdo框架介绍使用
  12. 任正非:华为留不住人才是我的痛!
  13. 差分GPS(differential GPS-DGPS,DGPS)
  14. python操作 docx
  15. 【基础系列】赏析刘洪普《PyTorch深度学习实践》与《实战:基于CNN的MNIST手写数字识别》(Python版)
  16. 亲自动手从源码 构建 Groovy 2.3.8 发布包
  17. 升级笔记本CPU的常见知识汇总
  18. 没错,Linux需要更多的憎恨者
  19. 直播区块链APP小葫芦星球即将上线
  20. mysql中的判断是否有该条数据 如果有返回1 没有返回0

热门文章

  1. 二进制全排列 java_排列组合算法真厉害,傻瓜都能学会
  2. sql limit不接具体数字_这21个写SQL的好习惯,你要养成呀
  3. 看似杂乱无序的随机运动.....
  4. 现在要吃软饭的,都这么明目张胆了吗?
  5. 比乐高还要好玩,50种奇妙装置玩法,将STEM教育一网打尽
  6. 深夜,学妹遇到了数据分析师生涯的第一个疑问
  7. php xmlhttprequest,DOM XMLHttpRequest
  8. 关于java的项目_关于java项目与javaweb项目
  9. python求斜边上的高_直角三角形斜边上的高怎么求
  10. linux检查系统硬件信息命令,Linux查看系统信息(硬件信息, 系统设置信息等) 命令 | Soo Smart!...