mysql configuration stops at “starting server”

后端 未结 12 2298
情书的邮戳
情书的邮戳 2020-11-28 06:56

I was installing MySQL installer on my windows 8 machine. During the server configuration process, it gets stuck at \"starting server\" and doesn\'t move any further. The lo

12条回答
  •  忘掉有多难
    2020-11-28 07:08

    Adding this for others.

    I had install set up to configure windows service.

    Looking in Windows Event Viewer => Windows Logs => Application I found:

    C:\Program Files\MySQL\MySQL Server 5.6\bin\mysqld.exe: Error while setting value '0.0' to 'lower_case_table_names'

    Checking the init file in C:\ProgramData\MySQL\MySQL Server 5.6\my.ini

    I found:

    # Specifies the on how table names are stored in the metadata.
    # If set to 0, will throw an error on case-insensitive operative systems
    # If set to 1, table names are stored in lowercase on disk and comparisons are not case sensitive.
    # If set to 2, table names are stored as given but compared in lowercase.
    # This option also applies to database names and table aliases.
    lower_case_table_names=0.0
    

    I changed the value to 0, but on reinstall it reappeared as 0.0 so during the install and whilst the installation hanged at 'Starting Server' I edited the my.ini file, saved it, opened the services viewer and manually started the service MySql56. The installation then completed

提交回复
热议问题