Windows服务器MySQL启动失败怎么办
一,配置文件正确,清除缓存 1.遇到这个问题先不要急着重新安装MySQL数据库,其实解决方法很简单,人需要清理下WIndows的缓存目录就可以了。 2.按windows键+R打开运行对话框,输入命令cmd,回车打开DOS窗口。 3.输入del c:windowstemp*.* /s /q,等待文件删
一,配置文件正确,清除缓存
1.遇到这个问题先不要急着重新安装MySQL数据库,其实解决方法很简单,,人需要清理下WIndows的缓存目录就可以了。
2.按“windows键+R”打开运行对话框,输入命令“cmd”,回车打开DOS窗口。
3.输入“del c:windowstemp*.* /s /q”,等待文件删除完,MySQL自然会恢复正常。
二,配置文件配置错误(mysql启动错误1067的解决 )
问题一
删除%windows%/my.ini 删除其它地方的my.ini 在mysql安装目录下把my-small.ini复制为my.ini 在my.ini
最后一行插入: CODE: [mysqld] #设置basedir指向mysql的安装路径
basedir=C:mysql-5.1.11-beta-win32 datadir=C:mysql-5.1.11-beta-win32data
重新启动。。。
C:mysql-5.1.11-beta-win32in>net start mysql MySQL
服务正在启动 . MySQL 服务无法启动。 系统出错。
发生系统错误 1067。 进程意外终止。
C:mysql-5.1.11-beta-win32in>mysqld-nt --remove Service successfully removed.
C:mysql-5.1.11-beta-win32in>mysqld-nt --install Service successfully installed.
C:mysql-5.1.11-beta-win32in>net start mysql MySQL 服务正在启动 . MySQL 服务已经启动成功。 C:mysql-5.1.11-beta-win32in>net stop mysql MySQL 服务正在停止.. MySQL 服务已成功停止。
问题二
Mysql装好后,重启电脑第二次发现服务无法启动。提示如下:
------------------------
MySQL 服务无法启动。
系统出错。
发生系统错误 1067。
进程意外终止。
------------------
查看了F:ProgramDataMySQLMySQL Server 5.5data 这个目录中的错误日志,显示如下内容:
130825 20:47:50 [Note] Plugin 'FEDERATED' is disabled.
130825 20:47:50 InnoDB: The InnoDB memory heap is disabled
130825 20:47:50 InnoDB: Mutexes and rw_locks use Windows interlocked functions
130825 20:47:50 InnoDB: Compressed tables use zlib 1.2.3
130825 20:47:50 InnoDB: Error: unable to create temporary file; errno: 2
130825 20:47:50 [ERROR] Plugin 'InnoDB' init function returned error.
130825 20:47:50 [ERROR] Plugin 'InnoDB' registration as a STORAGE ENGINE failed.
130825 20:47:50 [ERROR] Unknown/unsupported storage engine: INNODB
130825 20:47:50 [ERROR] Aborting
其中核心提示是这句,临时文件无法创建:
130825 20:47:50 InnoDB: Error: unable to create temporary file; errno: 2
因此查看my.ini
[mysqld]区段内加入:
#自己指定的临时文件目录
tmpdir="临时目录"

Hot AI Tools

Undresser.AI Undress
AI-powered app for creating realistic nude photos

AI Clothes Remover
Online AI tool for removing clothes from photos.

Undress AI Tool
Undress images for free

Clothoff.io
AI clothes remover

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

Hot Article

Hot Tools

Notepad++7.3.1
Easy-to-use and free code editor

SublimeText3 Chinese version
Chinese version, very easy to use

Zend Studio 13.0.1
Powerful PHP integrated development environment

Dreamweaver CS6
Visual web development tools

SublimeText3 Mac version
God-level code editing software (SublimeText3)

Hot Topics











MySQL and phpMyAdmin are powerful database management tools. 1) MySQL is used to create databases and tables, and to execute DML and SQL queries. 2) phpMyAdmin provides an intuitive interface for database management, table structure management, data operations and user permission management.

In MySQL, the function of foreign keys is to establish the relationship between tables and ensure the consistency and integrity of the data. Foreign keys maintain the effectiveness of data through reference integrity checks and cascading operations. Pay attention to performance optimization and avoid common errors when using them.

The main difference between MySQL and MariaDB is performance, functionality and license: 1. MySQL is developed by Oracle, and MariaDB is its fork. 2. MariaDB may perform better in high load environments. 3.MariaDB provides more storage engines and functions. 4.MySQL adopts a dual license, and MariaDB is completely open source. The existing infrastructure, performance requirements, functional requirements and license costs should be taken into account when choosing.

SQL is a standard language for managing relational databases, while MySQL is a database management system that uses SQL. SQL defines ways to interact with a database, including CRUD operations, while MySQL implements the SQL standard and provides additional features such as stored procedures and triggers.

MySQL and phpMyAdmin can be effectively managed through the following steps: 1. Create and delete database: Just click in phpMyAdmin to complete. 2. Manage tables: You can create tables, modify structures, and add indexes. 3. Data operation: Supports inserting, updating, deleting data and executing SQL queries. 4. Import and export data: Supports SQL, CSV, XML and other formats. 5. Optimization and monitoring: Use the OPTIMIZETABLE command to optimize tables and use query analyzers and monitoring tools to solve performance problems.

MySQL is suitable for rapid development and small and medium-sized applications, while Oracle is suitable for large enterprises and high availability needs. 1) MySQL is open source and easy to use, suitable for web applications and small and medium-sized enterprises. 2) Oracle is powerful and suitable for large enterprises and government agencies. 3) MySQL supports a variety of storage engines, and Oracle provides rich enterprise-level functions.

Handling high DPI display in C can be achieved through the following steps: 1) Understand DPI and scaling, use the operating system API to obtain DPI information and adjust the graphics output; 2) Handle cross-platform compatibility, use cross-platform graphics libraries such as SDL or Qt; 3) Perform performance optimization, improve performance through cache, hardware acceleration, and dynamic adjustment of the details level; 4) Solve common problems, such as blurred text and interface elements are too small, and solve by correctly applying DPI scaling.

To safely and thoroughly uninstall MySQL and clean all residual files, follow the following steps: 1. Stop MySQL service; 2. Uninstall MySQL packages; 3. Clean configuration files and data directories; 4. Verify that the uninstallation is thorough.
