Recently I Found This Error For log in to my mysql and mariadb on My UnixBase MacOS. And i try similar Ways in StackOverFlow To fix this problem. but problem not solved.
i try systemctl to check mariadb or mysql is running.
But it seems systemctl command is not available on macOS system.
Then i try to look at mariadb version.
i use this StackOverFlowLink. But Nothing Changes
Actually i use my mariadb server for about one year on my MacOS, And I dont know why this trouble happened recently.



systemctlis systemd, which is Linux only.brew services start mariadbis for MacOS.ref