Comments - Cannot Start Mariadb on Linux Ubuntu

4 months, 1 week ago Marko Mäkelä

Do you know which Linux user identifier the mariadbd process is being started with? It looks like the data directory as well as all files inside it are owned by the user mysql and the group mysql. I would guess that the mariadbd process is being run as some other user or group.

 
3 months, 3 weeks ago ml25 lp

Hello,

Thank you so much for your fast answer and help, I deeply appreciate !

Do you mean the mariadb service ? If yes, I checked it by typing "systemctl show -pUser,UID mariadb" and "systemctl show -pGroup,UID mariadb" and it showed me mariadb was run by "mysql" user and group.

root@P-K*:/home# systemctl show -pUser,UID mariadb

UID=[not set] User=mysql

root@P-K*:/home# systemctl show -pGroup,UID mariadb

UID=[not set] Group=mysql

I tried to check for the process as you mentionned but I am not seeing it when trying to display it with "ps -e".

Thank you again for your suggestion and have a beautiful day.

 
Content reproduced on this site is the property of its respective owners, and this content is not reviewed in advance by MariaDB. The views, information and opinions expressed by this content do not necessarily represent those of MariaDB or any other party.