Search code examples
mysqlwordpresslaravelmariadbvalet

Error when starting mariadb - no such process


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.


Solution

  • 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.