[MDEV-6522] Mysql would not start (service hangs on startup due to missing ini file) Created: 2014-08-03  Updated: 2022-09-08

Status: Open
Project: MariaDB Server
Component/s: None
Affects Version/s: 5.5.39, 10.0.12, 10.1.0
Fix Version/s: 5.5, 10.1

Type: Bug Priority: Minor
Reporter: Philip orleans Assignee: Unassigned
Resolution: Unresolved Votes: 0
Labels: installer, windows
Environment:

windows 2012 R2 datacenter


Attachments: PNG File mysql.png    

 Description   

In Windows the service gets stuck in "Starting", as shown in the services applet. It started fine the first time, then I changed my.cnf so data would be stored in a different drive, stopped the service, copied the data directory to the new drive, set the permissions on the new destination so "everybody" would have full rights, then the service started, I loaded a 40 GB of data just fine. Then I stopped the service, and it never started again. I rebooted and it still did not start. I can give you access to the box. It is a development box accessible via remote desktop.
Note: there are no messages in the windows application log.



 Comments   
Comment by Sergei Golubchik [ 2014-08-05 ]

Could you provide any more information? Like, error logs, error messages, anything?

Comment by Elena Stepanova [ 2014-08-05 ]

Hi,

You can send me connection info either via email or in a private message on IRC, or any other way suitable for you.

Comment by Philip orleans [ 2014-08-05 ]

my skype is philip_38

On Tue, Aug 5, 2014 at 1:07 PM, Elena Stepanova (JIRA)

Comment by Elena Stepanova [ 2014-08-06 ]

Investigation has shown that the server did not start because my.ini file did not exist in the location configured for the Windows service. Creating the required path fixed the issue.

However, it is still a bug because the service shouldn't hang, it should fail with a proper error message (as a normal standalone server does if it's started with a non-existing --defaults-file).

Generated at Thu Feb 08 07:12:34 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.