MySQL Installation Error

    技术2025-08-06  14

    Recently, I try again to set up the  Web development environment. But I failed to install the MySQL services.

    When I configure the MySQL database, the last step when starting the service, I have an error:

    The service could not be started.error:0

    And then I tried to open the services from the Services.msc, It has another error:

    Could not start the MySQL service on Local Computer. Error 1067: The program terminated unexpectedly.

    Finally, the reason is identified by the *.err file in the data diretory:

    InnoDB: Error: log file ./ib_logfile0 is of different size 0 17825792 bytes InnoDB: than specified in the .cnf file 0 23068672 bytes!

    I deleted the log file and reconfigure the service again. It works.

    最新回复(0)