Maria db server

On starting the maria db server using
sudo systemctl start mariadb
Its showing fail to start in status command

I am trying in ubuntu 20.04 wsl version 2

HELP ME TO TROUBLESHOOT THIS PROBLEM

REGARDS

Hi

Please refer to your /etc/my.cnf file

Regard

What changes did you make to /etc/my.cnf? Did you make a back backup of the original file to help compare? Looks like it’s an issue with the environment variables.

yes i made some change but unable to fix it now
when i try to run command sudo systemctl start mariadb
““Job for mariadb.service failed because the control process exited with error code.
See “systemctl status mariadb.service” and “journalctl -xe” for details.””
this output is showing.

Hi,
if you don’t know which change you did on the my.cnf, you can uninstall completely the MariaDB and reinstall it. Take care to take a backup before changing it again.

However, you can also share your file, and we try to debug it, but he can take time

Regard