mysql configuration stops at “starting server”

后端 未结 12 2272
情书的邮戳
情书的邮戳 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:11

    I've figured this one out. Mine was getting stuck at "Starting Server" too and Event Viewer had this -

    The description for Event ID 100 from source MySQL cannot be found. Either the component that raises this event is not installed on your local computer or the installation is corrupted. You can install or repair the component on the local computer.    
    If the event originated on another computer, the display information had to be saved with the event.    
    The following information was included with the event:     
    innobase_buffer_pool_size can't be over 4GB on 32-bit systems
    

    So I figured out the problem was trying to start the 32-bit version of MySQL that comes bundled in with the installer on a 64-bit machine could have been the problem. Although, MySQL states it will install 64-bit of the database.

    What I did was downloaded a 64-bit zipped version and unpackaged it into a temporary location. I re-ran the installer and let it install mysql. I replaced the contents of that with the other version from the temporary location without stopping the installer. Then I continued with configuration steps of the installer. It managed to start the service.

    Here's full trace of the log.

    Beginning configuration step: Stopping Server [if necessary]
    Ended configuration step: Stopping Server [if necessary]
    
    Beginning configuration step: Writing configuration file
    Ended configuration step: Writing configuration file
    
    Beginning configuration step: Updating firewall
    Adding firewall rule for MySQL56 on port 3306.
    Successfully added firewall rule.
    Ended configuration step: Updating firewall
    
    Beginning configuration step: Adjusting Windows service [if necessary]
    Attempting to grant Network Service require filesystem permissions.
    Granted permissions.
    Adding new service
    New service added
    Ended configuration step: Adjusting Windows service [if necessary]
    
    Beginning configuration step: Starting Server
    Starting MySQL as a service
    Ended configuration step: Starting Server
    
    Beginning configuration step: Applying security settings
    Attempting to update security settings.
    Updated security settings.
    Ended configuration step: Applying security settings
    
    Beginning configuration step: Creating user accounts
    Attempting to Add New MySQL Users
    Added New Users.
    Ended configuration step: Creating user accounts
    
    Beginning configuration step: Updating Start Menu Link
    Attempting to verify command-line client shortcut.
    Verified command-line client shortcut.
    Verified command-line client shortcut.
    Ended configuration step: Updating Start Menu Link
    

    mysql site

提交回复
热议问题