mysql-5.7.9-winx64 MySQL服务无法启动,服务没有报告任何错误 的解决办法

mysql-5.7.9-winx64 MySQL服务无法启动,服务没有报告任何错误

最新解压版本的mysql 解压安装的时候报错

D:\mysql-5.7.9-winx64\bin>net start mysql

MySQL 服务正在启动 .

MySQL 服务无法启动。

服务没有报告任何错误。

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

D:\mysql-5.7.9-winx64\bin>mysqld --console

2015-11-23T14:46:03.711082Z 0 [Warning] TIMESTAMP with implicit DEFAULT value is deprecated. Please use --explicit_defaults_for_timestamp server option (see documentation for more details).

2015-11-23T14:46:03.711082Z 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-11-23T14:46:03.711583Z 0 [Note] mysqld (mysqld 5.7.9) starting as process 9984 ...

2015-11-23T14:46:03.716585Z 0 [Note] InnoDB: Mutexes and rw_locks use Windows interlocked functions

2015-11-23T14:46:03.717086Z 0 [Note] InnoDB: Uses event mutexes

2015-11-23T14:46:03.717591Z 0 [Note] InnoDB: _mm_lfence() and _mm_sfence() are used for memory barrier

2015-11-23T14:46:03.721090Z 0 [Note] InnoDB: Compressed tables use zlib 1.2.3

2015-11-23T14:46:03.726596Z 0 [Note] InnoDB: Number of pools: 1

2015-11-23T14:46:03.727094Z 0 [Note] InnoDB: Not using CPU crc32 instructions

2015-11-23T14:46:03.764098Z 0 [Note] InnoDB: Initializing buffer pool, total size = 128M, instances = 1, chunk size = 128M

2015-11-23T14:46:03.774101Z 0 [Note] InnoDB: Completed initialization of buffer pool

2015-11-23T14:46:03.805645Z 0 [Note] InnoDB: Highest supported file format is Barracuda.

2015-11-23T14:46:03.832178Z 0 [Note] InnoDB: Creating shared tablespace for temporary tables

2015-11-23T14:46:03.832679Z 0 [Note] InnoDB: Setting file ‘.\ibtmp1‘ size to 12 MB. Physically writing the file full; Please wait ...

2015-11-23T14:46:03.924164Z 0 [Note] InnoDB: File ‘.\ibtmp1‘ size is now 12 MB.

2015-11-23T14:46:03.926664Z 0 [Note] InnoDB: 96 redo rollback segment(s) found. 96 redo rollback segment(s) are active.

2015-11-23T14:46:03.927165Z 0 [Note] InnoDB: 32 non-redo rollback segment(s) are active.

2015-11-23T14:46:03.929749Z 0 [Note] InnoDB: Waiting for purge to start

2015-11-23T14:46:03.988759Z 0 [Note] InnoDB: 5.7.9 started; log sequence number 1209980

2015-11-23T14:46:03.990259Z 0 [Note] InnoDB: not started

2015-11-23T14:46:03.990759Z 0 [Note] InnoDB: Loading buffer pool(s) from D:\mysql-5.7.9-winx64\data\ib_buffer_pool

2015-11-23T14:46:03.990759Z 0 [Note] Plugin ‘FEDERATED‘ is disabled.

2015-11-23T14:46:03.996731Z 0 [Note] InnoDB: Buffer pool(s) load completed at 151123 22:46:03

mysqld: Table ‘mysql.plugin‘ doesn‘t exist

2015-11-23T14:46:04.003002Z 0 [ERROR] Can‘t open the mysql.plugin table. Please run mysql_upgrade to create it.

2015-11-23T14:46:04.007005Z 0 [Warning] Gtid table is not ready to be used. Table ‘mysql.gtid_executed‘ cannot be opened.

2015-11-23T14:46:04.009510Z 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-11-23T14:46:04.015010Z 0 [Note] Server hostname (bind-address): ‘*‘; port: 3306

2015-11-23T14:46:04.016513Z 0 [Note] IPv6 is available.

2015-11-23T14:46:04.018012Z 0 [Note]   - ‘::‘ resolves to ‘::‘;

2015-11-23T14:46:04.021520Z 0 [Note] Server socket created on IP: ‘::‘.

2015-11-23T14:46:04.029022Z 0 [Warning] Failed to open optimizer cost constant tables

2015-11-23T14:46:04.035027Z 0 [ERROR] Fatal error: Can‘t open and lock privilege tables: Table ‘mysql.user‘ doesn‘t exist

2015-11-23T14:46:04.037027Z 0 [ERROR] Aborting

2015-11-23T14:46:04.038528Z 0 [Note] Binlog end

2015-11-23T14:46:04.042030Z 0 [Note] Shutting down plugin ‘ngram‘

2015-11-23T14:46:04.045533Z 0 [Note] Shutting down plugin ‘partition‘

2015-11-23T14:46:04.048050Z 0 [Note] Shutting down plugin ‘BLACKHOLE‘

2015-11-23T14:46:04.050550Z 0 [Note] Shutting down plugin ‘ARCHIVE‘

2015-11-23T14:46:04.053037Z 0 [Note] Shutting down plugin ‘PERFORMANCE_SCHEMA‘

2015-11-23T14:46:04.053539Z 0 [Note] Shutting down plugin ‘MRG_MYISAM‘

2015-11-23T14:46:04.058545Z 0 [Note] Shutting down plugin ‘MyISAM‘

2015-11-23T14:46:04.059544Z 0 [Note] Shutting down plugin ‘INNODB_SYS_VIRTUAL‘

2015-11-23T14:46:04.063045Z 0 [Note] Shutting down plugin ‘INNODB_SYS_DATAFILES‘

2015-11-23T14:46:04.065547Z 0 [Note] Shutting down plugin ‘INNODB_SYS_TABLESPACES‘

2015-11-23T14:46:04.069049Z 0 [Note] Shutting down plugin ‘INNODB_SYS_FOREIGN_COLS‘

2015-11-23T14:46:04.073053Z 0 [Note] Shutting down plugin ‘INNODB_SYS_FOREIGN‘

2015-11-23T14:46:04.081560Z 0 [Note] Shutting down plugin ‘INNODB_SYS_FIELDS‘

2015-11-23T14:46:04.084060Z 0 [Note] Shutting down plugin ‘INNODB_SYS_COLUMNS‘

2015-11-23T14:46:04.086063Z 0 [Note] Shutting down plugin ‘INNODB_SYS_INDEXES‘

2015-11-23T14:46:04.088564Z 0 [Note] Shutting down plugin ‘INNODB_SYS_TABLESTATS‘

2015-11-23T14:46:04.100570Z 0 [Note] Shutting down plugin ‘INNODB_SYS_TABLES‘

2015-11-23T14:46:04.101071Z 0 [Note] Shutting down plugin ‘INNODB_FT_INDEX_TABLE‘

2015-11-23T14:46:04.103575Z 0 [Note] Shutting down plugin ‘INNODB_FT_INDEX_CACHE‘

2015-11-23T14:46:04.106077Z 0 [Note] Shutting down plugin ‘INNODB_FT_CONFIG‘

2015-11-23T14:46:04.109580Z 0 [Note] Shutting down plugin ‘INNODB_FT_BEING_DELETED‘

2015-11-23T14:46:04.118084Z 0 [Note] Shutting down plugin ‘INNODB_FT_DELETED‘

2015-11-23T14:46:04.120589Z 0 [Note] Shutting down plugin ‘INNODB_FT_DEFAULT_STOPWORD‘

2015-11-23T14:46:04.123088Z 0 [Note] Shutting down plugin ‘INNODB_METRICS‘

2015-11-23T14:46:04.127091Z 0 [Note] Shutting down plugin ‘INNODB_TEMP_TABLE_INFO‘

2015-11-23T14:46:04.130093Z 0 [Note] Shutting down plugin ‘INNODB_BUFFER_POOL_STATS‘

2015-11-23T14:46:04.132093Z 0 [Note] Shutting down plugin ‘INNODB_BUFFER_PAGE_LRU‘

2015-11-23T14:46:04.135097Z 0 [Note] Shutting down plugin ‘INNODB_BUFFER_PAGE‘

2015-11-23T14:46:04.137097Z 0 [Note] Shutting down plugin ‘INNODB_CMP_PER_INDEX_RESET‘

2015-11-23T14:46:04.141601Z 0 [Note] Shutting down plugin ‘INNODB_CMP_PER_INDEX‘

2015-11-23T14:46:04.144602Z 0 [Note] Shutting down plugin ‘INNODB_CMPMEM_RESET‘

2015-11-23T14:46:04.148106Z 0 [Note] Shutting down plugin ‘INNODB_CMPMEM‘

2015-11-23T14:46:04.151608Z 0 [Note] Shutting down plugin ‘INNODB_CMP_RESET‘

2015-11-23T14:46:04.154108Z 0 [Note] Shutting down plugin ‘INNODB_CMP‘

2015-11-23T14:46:04.158112Z 0 [Note] Shutting down plugin ‘INNODB_LOCK_WAITS‘

2015-11-23T14:46:04.166119Z 0 [Note] Shutting down plugin ‘INNODB_LOCKS‘

2015-11-23T14:46:04.169622Z 0 [Note] Shutting down plugin ‘INNODB_TRX‘

2015-11-23T14:46:04.171624Z 0 [Note] Shutting down plugin ‘InnoDB‘

2015-11-23T14:46:04.177629Z 0 [Note] InnoDB: FTS optimize thread exiting.

2015-11-23T14:46:04.182131Z 0 [Note] InnoDB: Starting shutdown...

2015-11-23T14:46:04.293551Z 0 [Note] InnoDB: Dumping buffer pool(s) to D:\mysql-5.7.9-winx64\data\ib_buffer_pool

2015-11-23T14:46:04.295552Z 0 [Note] InnoDB: Buffer pool(s) dump completed at 151123 22:46:04

2015-11-23T14:46:05.445554Z 0 [Note] InnoDB: Shutdown completed; log sequence number 1209999

2015-11-23T14:46:05.447053Z 0 [Note] InnoDB: Removed temporary tablespace data file: "ibtmp1"

2015-11-23T14:46:05.448554Z 0 [Note] Shutting down plugin ‘MEMORY‘

2015-11-23T14:46:05.449054Z 0 [Note] Shutting down plugin ‘CSV‘

2015-11-23T14:46:05.452556Z 0 [Note] Shutting down plugin ‘sha256_password‘

2015-11-23T14:46:05.458060Z 0 [Note] Shutting down plugin ‘mysql_native_password‘

2015-11-23T14:46:05.459061Z 0 [Note] Shutting down plugin ‘binlog‘

2015-11-23T14:46:05.463065Z 0 [Note] mysqld: Shutdown complete

D:\mysql-5.7.9-winx64\bin>mysqld  --initialize

2015-11-23T14:49:00.783987Z 0 [Warning] TIMESTAMP with implicit DEFAULT value is deprecated. Please use --explicit_defaults_for_timestamp server option (see documentation for more details).

2015-11-23T14:49:00.785988Z 0 [ERROR] --initialize specified but the data directory has files in it. Aborting.

2015-11-23T14:49:00.786989Z 0 [ERROR] Aborting

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

删除之前建的data文件夹,由mysql自己创建即可。

D:\mysql-5.7.9-winx64\bin>mysqld  --initialize

D:\mysql-5.7.9-winx64\bin>net start mysql

MySQL 服务正在启动 .

MySQL 服务已经启动成功。

时间: 2024-08-02 11:01:36

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

关于tomcat启动服务单独启动时ngrok报500错误的解决办法

去年开通了微信公众号,每次都是启动eclipse,然后用eclipse里的tomcat来启动服务,然后启动ngrok,这样微信服务就算启动成功了,如下图: ,公众号可以正常返回数据,ngrok也返回的200状态码.但是每次单独用tomcatbin目录下的startup.bat批处理命令启动后,然后再访问,ngrok就会提示500服务器内部错误,但是没有更具体的提示信息. 解决办法:把发送微信请求的地址考出来,再浏览器里执行,浏览器会给出更具体的提示,比如我的微信公号访问的地址是: http://

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

总结报错原因:在my.init文件下新增data目录(datadir = F:\mysqldata ) 最新解压版本的mysql 解压安装的时候报错D:\mysql\mysql-5.7.10-winx64\bin>net start mysqlMySQL 服务正在启动 ....MySQL 服务无法启动. 服务没有报告任何错误. 请键入 NET HELPMSG 3534 以获得更多的帮助. mysql下面是没有data文件夹的,此文件夹不需要自己建 D:\mysql\mysql-5.7.10-wi

mysql-5.7.9-winx64 MySQL服务无法启动,服务没有报告任何错误的解决办法 转自【IT精英团】:http://www.itnpc.com/news/web/144832818227054.html

最新解压版本的mysql 解压安装的时候报错D:\mysql-5.7.9-winx64\bin>net start mysqlMySQL 服务正在启动 .MySQL 服务无法启动.服务没有报告任何错误.  mysql下面是没有data文件夹的,此文件夹不需要自己建. D:\mysql-5.7.9-winx64\bin>mysqld --console2015-11-23T14:46:03.711082Z 0 [Warning] TIMESTAMP with implicit DEFAULT v

Mysq 5.7l服务无法启动,没有报告任何错误

昨天系统崩溃了,然后重装了Mysql 5.7 安装步骤和遇到问题及解决方案. 去官网下载Mysql 5.7的解压包(zip),解压到你要安装的目录. 我的安装目录是:D:\Java\Mysql 安装步骤: 1.配置环境变量. 我的电脑->属性->高级->环境变量->path 如: D:\Java\Mysql\bin (安装目录下的bin目录) 注意是追加,不要覆盖,记住,若是path的最后面没有“:”,记得添加分号. 2.配置Mysql的配置文件my-default.ini 在配置

mysql导入数据库中的存储过程和函数出现错误的解决办法

mysql导入数据库中的存储过程和函数出现错误的解决办法 调用一个远程拷贝的本地Mysql的储存过程 报错:[Err] 1449 - The user specified as a definer ('repl'@'192.168.1.%') does not exist  解决想法: 凭借以前经常见到的[email protected]报错,给root赋值所有权限: grant all privileges on *.* to [email protected]"%" identif

MySql重装以后,修改数据库路径,打开以前的数据库报Table 'XX库.XX表' doesn't exist错误的解决办法

因为mysql主流的数据库引擎有MyISAM和InnoDB两种, 如果是MyISAM,直接把以前数据库拷贝到修改后的路径是可以的 但是InnoDB因为存储结构不同,必须还得把备份的innodb数据库表“*.frm”文件和innodb数据“ibdata1”文件拷到修改后的合适路径 参考资料:http://www.bcty365.com/content-35-2928-1.html https://blog.csdn.net/dihuangtian01/article/details/5177353

问题:Custom tool error: Failed to generate code for the service reference 'AppVot;结果:添加Service Reference, 无法为服务生成代码错误的解决办法

添加Service Reference, 无法为服务生成代码错误的解决办法 我的解决方案是Silverlight+WCF的应用,Done Cretiria定义了需要在做完Service端的代码后首先运行事先定义好的Unit Test,确保在客户端使用Service之前Service是可以正确的运行的.在我创建Unit Test之前,需要在测试项目中添加对WCF Service的引用,而这时却出现了错误. Custom tool error: Failed to generate code for

全网最详细的启动Kafka服务时出现kafka.common.InconsistentBrokerIdException: Configured brokerId 3 doesn't match stored brokerId 1 in meta.properties错误的解决办法(图文详解)

不多说,直接上干货! 问题详情 执行bin/kafka-server-start.sh config/server.properties 时, [[email protected] kafka_2.11-0.9.0.0]$ bin/kafka-server-start.sh config/server.properties [2018-06-17 16:05:38,983] INFO KafkaConfig values: request.timeout.ms = 30000 log.roll.

Mysql 服务无法启动 服务没有报告任何错误

今天以zip模式在windows10 64位环境下安装mysql5.7,到最后一步提示mysql服务无法启动. 安装步骤如下: 1.配置环境变量 我的电脑->属性->高级->环境变量->path 如:C:\Program Files\MySQL\MySQL Server 5.6\bin 注意是追加,不要覆盖 2.修改my-default.ini 在其中修改或添加配置: [mysqld] basedir=C:\Program Files\MySQL\MySQL Server 5.6(