一直在用mariadb 5.2.1b,升级到5.2.3后服务启动不了:
mysqld --install mariadb 成功
net start mariadb 提示:无法启动,错误1067
但用命令行方式运行,即直接行动mysqld.exe正常。OS:winxp win2003s在网上搜索了很多方法,主要就是修改my.ini,按其操作均不成功。

解决方案 »

  1.   

    检查你的MYSQL的错误日志。把其中的信息贴出来这样大家可以一起分析。
      

  2.   

    看了一下,错误日志是空的,零字节。
    如果直接运行mysqld.exe,数据库运行正常。
    错误日志内容:
    101202 11:44:43 [Note] PrimeBase XT (PBXT) Engine 1.0.11-7 Pre-GA loaded...
    101202 11:44:43 [Note] Paul McCullagh, PrimeBase Technologies GmbH, http://www.primebase.org
    InnoDB: The InnoDB memory heap is disabled
    InnoDB: Mutexes and rw_locks use InnoDB's own implementation
    InnoDB: Compressed tables use zlib 1.2.3
    InnoDB: Windows native async i/o is disabled as default.
    InnoDB:   It is not applicable for the current multi io threads implementation.
    InnoDB: The first specified data file .\ibdata1 did not exist:
    InnoDB: a new database to be created!
    101202 11:44:43  InnoDB: Setting file .\ibdata1 size to 10 MB
    InnoDB: Database physically writes the file full: wait...
    101202 11:44:44  InnoDB: Log file .\ib_logfile0 did not exist: new to be created
    InnoDB: Setting log file .\ib_logfile0 size to 5 MB
    InnoDB: Database physically writes the file full: wait...
    101202 11:44:44  InnoDB: Log file .\ib_logfile1 did not exist: new to be created
    InnoDB: Setting log file .\ib_logfile1 size to 5 MB
    InnoDB: Database physically writes the file full: wait...
    InnoDB: Doublewrite buffer not found: creating new
    InnoDB: Doublewrite buffer created
    InnoDB: Creating foreign key constraint system tables
    InnoDB: Foreign key constraint system tables created
    101202 11:44:44 Percona XtraDB (http://www.percona.com) 1.0.12-12.1 started; log sequence number 0
    101202 11:44:44 [Note] Event Scheduler: Loaded 0 events
    101202 11:44:44 [Note] D:\MariaDB\bin\mysqld.exe: ready for connections.
    Version: '5.2.3-MariaDB'  socket: ''  port: 3306  Source distribution
      

  3.   

    到WINDOWS的服务中,看一下服务 mariadb 的命令是什么? 应该是参数文件名没加。
      

  4.   


    mariadb  是什么东东?
      

  5.   

    这是一个bug 还没有修复 不安装成服务 加参数 --console可以运行https://bugs.launchpad.net/maria/+bug/678047MariaDB 5.2.3's windows service as installed with mysqld --install refuses to start. The EventViewer contains 2 entries, one is "Aborted" and the other is "Shutdown complete"The reason seems that --console is required for the service to start properly. If --console is specified as an argument using the Services Control Panel and the Start button is hit, the service starts correctly.See also mysql bug http://bugs.mysql.com/bug.php?id=56821