Bug #95097 proper prompt message is needed if people use invalid user to start mysql server
Submitted: 24 Apr 2019 4:10 Modified: 8 May 2019 14:31
Reporter: zca 左 Email Updates:
Status: Not a Bug Impact on me:
None 
Category:MySQL Server Severity:S4 (Feature request)
Version:8.0.15 OS:Linux
Assigned to: CPU Architecture:Any

[24 Apr 2019 4:10] zca 左
Description:
this is not a bug, just some feature required. but I cannot found a place to submit a feature requirement.

following is the situation I've met.

I installed MySQL with user mysql3316. today I found MySQL server is down, so I tried to restart it. 

well, I've forgotten that I should start with user mysql3316.

Instead, I use root to do that. and the process just exit immediately and no error message print out. I've dig such a long time then found I use the wrong user. 

If there are any messages remind me that, that would be better.

How to repeat:
1. install MySQL with user A

2. start MySQL with user B

3. you'll found process exit immediately and no error message print out.

Suggested fix:
provided proper messages
[8 May 2019 14:31] MySQL Verification Team
HI,

Thank you for your feature request.

However, there is nothing we can do about it. This is about Unix ownership and privileges. You must start the server with `root` user or Unix will not let you start it.

Not anything that we can  control.