search
HomeDatabaseMysql Tutorial无法启动MYSQL服务”1067进程意外终止”解决办法汇总及终极方法_MySQL

自己一开始按照百度经验里的方法——《MySQL下载安装、配置与使用(win7x64)》去安装和配置,但是到后面步骤总是出现1067代号的错误。慢慢折腾去解决。
这里汇总各种导致mysql提示无法启动MYSQL服务”1067 进程意外终止”的一些解决办法。自己遇到这个问题是查了很多方法不行,最后看到一个论坛的讨论,试了一下竟然可以。一下是网上的部分方法,最后可以的那个方法我放在最后面:
启用MySql服务的时候出现“windows无法启动mysql服务(位于本地计算机上。错误1067:进程意外终止)”,看看mysql服务并没有其它的依赖安系啊,于是突然想到进系统日志看看,果然发现很多MySql的很多错误,终于找到问题所在。

 

mysql 在win7的服务器里开启MySql服务提示“windows无法启动mysql服务(位于本地计算机上。错误1067:进程意外终止)” mysql2

解决办法一

进入“事件查看器”“应用程序”果然发现很多MySql的错误Default storage engine (InnoDB) is not available 于是进入MySql的安装目录找到my.ini里有一句:default-storage-engine=INNODB改成MYISAM就可以了。 马上再去开启MySql服务就可以顺利开启了。

mysql3

解决办法二

重装mysql时,一直提示“无法启动MYSQL服务,错误1067进程意外终止
重启,修复注册表都没什么用,
网上查了,改什么basedir,也没用
我用的是mysql5.8,
找来找去,想起之前装了wampserver,pc_webserver等集成环境,
此些软件会把my.ini, php.ini 写入C:WINDOWS目录下,并设为只读

解决方法:

把windows目录下,my.ini文件删除,

重装mysql,服务启动成功。。。

解决办法三

1、执行winmysqladmin,生成my.ini文件
2、mysqld -install 启动mysql服务
3、net start mysql 启动mysql服务显示正常
当通过mysql -u root -p 连接时候报服务器没有启动的错误,察看server服务,确实mysql服务没有启动,手动启动产生1067错误,重新安装过几次mysql,错误依旧。察看各个配置都没有错误。

我的系统环境 win2003 mysql版本4.0.12。
解决办法,将winmysqladmin生成的my.ini拷贝到c:windows下再启动mysql就一切OK了。
这个没试过 :其实不需要重新配置 你只要在/bin 目录下依次点击 mysql.exe

mysqld.exe

mysqld-nt.exe

winmysqladmin.exe

提示框出现后 直接cancle 掉

然后再点击 winmysqladmin.exe 在右下脚那个小图标上 选择启动服务就可以了

 

解决办法四

其实上面有部分试过之后都不成功,最后在一个论坛看到一个帖子——《mysql 5.6的绿化让我崩溃了。系统错误 1067》。其中七八楼的方法是不新增my.ini文件,而是在本来的my-default.ini上进行修改,原回帖如下:

“我的mysql版本是5.6.12,解压后,按网上说的创建my.ini文件,如同你那样。也遇到你所遇到的问题,找不到答案,快疯了。
后来想想,为什么不要自带的my-default.ini呢。于是去掉my-default.ini 中#注释的配置。
cmd下运行:
mysqld.exe --install
net start mysql
成功!!

\

\

思考疑问

注意到文章一开头百度经验中的《第三大步:配置默认文件》说到:“其实理论上现在这样就可以直接安装服务了,但是因为是默认配置,我们使用的时候会出现很多问题。比如里面的汉字全是乱码之类的,所以建议你先配置一下默认文件。在mysql-x.x.xx-winx64(小编的是5.6.17根据自己的版本来定)目录下,新建个my.ini。复制下面的代码保存就ok了。my.ini会替换掉下面的my-default.ini文件。”那解决方法四中虽然暂时解决了,但是后面会出现很多问题。那就先用着看看,到时不行再按照上面的方法再折腾一下哈,完美主义者确实要花很多时间。简单的使用还是应该没太大问题的!
Statement
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Explain the InnoDB Buffer Pool and its importance for performance.Explain the InnoDB Buffer Pool and its importance for performance.Apr 19, 2025 am 12:24 AM

InnoDBBufferPool reduces disk I/O by caching data and indexing pages, improving database performance. Its working principle includes: 1. Data reading: Read data from BufferPool; 2. Data writing: After modifying the data, write to BufferPool and refresh it to disk regularly; 3. Cache management: Use the LRU algorithm to manage cache pages; 4. Reading mechanism: Load adjacent data pages in advance. By sizing the BufferPool and using multiple instances, database performance can be optimized.

MySQL vs. Other Programming Languages: A ComparisonMySQL vs. Other Programming Languages: A ComparisonApr 19, 2025 am 12:22 AM

Compared with other programming languages, MySQL is mainly used to store and manage data, while other languages ​​such as Python, Java, and C are used for logical processing and application development. MySQL is known for its high performance, scalability and cross-platform support, suitable for data management needs, while other languages ​​have advantages in their respective fields such as data analytics, enterprise applications, and system programming.

Learning MySQL: A Step-by-Step Guide for New UsersLearning MySQL: A Step-by-Step Guide for New UsersApr 19, 2025 am 12:19 AM

MySQL is worth learning because it is a powerful open source database management system suitable for data storage, management and analysis. 1) MySQL is a relational database that uses SQL to operate data and is suitable for structured data management. 2) The SQL language is the key to interacting with MySQL and supports CRUD operations. 3) The working principle of MySQL includes client/server architecture, storage engine and query optimizer. 4) Basic usage includes creating databases and tables, and advanced usage involves joining tables using JOIN. 5) Common errors include syntax errors and permission issues, and debugging skills include checking syntax and using EXPLAIN commands. 6) Performance optimization involves the use of indexes, optimization of SQL statements and regular maintenance of databases.

MySQL: Essential Skills for Beginners to MasterMySQL: Essential Skills for Beginners to MasterApr 18, 2025 am 12:24 AM

MySQL is suitable for beginners to learn database skills. 1. Install MySQL server and client tools. 2. Understand basic SQL queries, such as SELECT. 3. Master data operations: create tables, insert, update, and delete data. 4. Learn advanced skills: subquery and window functions. 5. Debugging and optimization: Check syntax, use indexes, avoid SELECT*, and use LIMIT.

MySQL: Structured Data and Relational DatabasesMySQL: Structured Data and Relational DatabasesApr 18, 2025 am 12:22 AM

MySQL efficiently manages structured data through table structure and SQL query, and implements inter-table relationships through foreign keys. 1. Define the data format and type when creating a table. 2. Use foreign keys to establish relationships between tables. 3. Improve performance through indexing and query optimization. 4. Regularly backup and monitor databases to ensure data security and performance optimization.

MySQL: Key Features and Capabilities ExplainedMySQL: Key Features and Capabilities ExplainedApr 18, 2025 am 12:17 AM

MySQL is an open source relational database management system that is widely used in Web development. Its key features include: 1. Supports multiple storage engines, such as InnoDB and MyISAM, suitable for different scenarios; 2. Provides master-slave replication functions to facilitate load balancing and data backup; 3. Improve query efficiency through query optimization and index use.

The Purpose of SQL: Interacting with MySQL DatabasesThe Purpose of SQL: Interacting with MySQL DatabasesApr 18, 2025 am 12:12 AM

SQL is used to interact with MySQL database to realize data addition, deletion, modification, inspection and database design. 1) SQL performs data operations through SELECT, INSERT, UPDATE, DELETE statements; 2) Use CREATE, ALTER, DROP statements for database design and management; 3) Complex queries and data analysis are implemented through SQL to improve business decision-making efficiency.

MySQL for Beginners: Getting Started with Database ManagementMySQL for Beginners: Getting Started with Database ManagementApr 18, 2025 am 12:10 AM

The basic operations of MySQL include creating databases, tables, and using SQL to perform CRUD operations on data. 1. Create a database: CREATEDATABASEmy_first_db; 2. Create a table: CREATETABLEbooks(idINTAUTO_INCREMENTPRIMARYKEY, titleVARCHAR(100)NOTNULL, authorVARCHAR(100)NOTNULL, published_yearINT); 3. Insert data: INSERTINTObooks(title, author, published_year)VA

See all articles

Hot AI Tools

Undresser.AI Undress

Undresser.AI Undress

AI-powered app for creating realistic nude photos

AI Clothes Remover

AI Clothes Remover

Online AI tool for removing clothes from photos.

Undress AI Tool

Undress AI Tool

Undress images for free

Clothoff.io

Clothoff.io

AI clothes remover

Video Face Swap

Video Face Swap

Swap faces in any video effortlessly with our completely free AI face swap tool!

Hot Tools

MantisBT

MantisBT

Mantis is an easy-to-deploy web-based defect tracking tool designed to aid in product defect tracking. It requires PHP, MySQL and a web server. Check out our demo and hosting services.

SAP NetWeaver Server Adapter for Eclipse

SAP NetWeaver Server Adapter for Eclipse

Integrate Eclipse with SAP NetWeaver application server.

MinGW - Minimalist GNU for Windows

MinGW - Minimalist GNU for Windows

This project is in the process of being migrated to osdn.net/projects/mingw, you can continue to follow us there. MinGW: A native Windows port of the GNU Compiler Collection (GCC), freely distributable import libraries and header files for building native Windows applications; includes extensions to the MSVC runtime to support C99 functionality. All MinGW software can run on 64-bit Windows platforms.

PhpStorm Mac version

PhpStorm Mac version

The latest (2018.2.1) professional PHP integrated development tool

VSCode Windows 64-bit Download

VSCode Windows 64-bit Download

A free and powerful IDE editor launched by Microsoft