Error when starting mariadb - no such process

Chris Shaugh picture Chris Shaugh · Feb 6, 2019 · Viewed 8k times · Source

I installed mariadb via homebrew to set up a wordpress enviroment. It is meant to work with laravel valet. I am currently using using the zsh shell.

I installed it without a problem (10.3.12), but when I run mysql.server start I get the following error:

mysql.server start
Starting MariaDB
.190206 11:26:18 mysqld_safe Logging to '/usr/local/var/mysql/chriss-mbp.lan.err'.
190206 11:26:18 mysqld_safe Starting mysqld daemon with databases from /usr/local/var/mysql
/usr/local/bin/mysql.server: line 260: kill: (55179) - No such process
 ERROR!

Can anybody help me narrow down why I'm getting this error? I'm new to terminal and mariadb, so I'm hoping it's just a silly error that I wasn't aware of.

Answer

common sense picture common sense · Feb 6, 2019

Brew has its own service manager included. Via brew services list you get all installed services listed. MariaDB should be there.

To start it call brew services start mariadb.