Closed adambrgmn closed 3 months ago
So after some more tiresome digging it seems that I found the issue! And it has nothing to do with clamp
. Sorry if I scared you 🥸
For future reference, if someone ends up at this issue with a similar problem:
This was an issue related to the global configuration of mariadb
. When you install mariadb
with Homebrew it will create a global configuration file for you somewhere in your filesystem, for me it was /usr/local/etc/my.cnf
(you can get the location by running $(brew --prefix mariadb)/bin/mariadbd --verbose --help | grep -A 1 "Default options"
):
# Default Homebrew MySQL server config
[mysqld]
# Only allow connections from localhost
bind-address = 127.0.0.1
mysqlx-bind-address = 127.0.0.1
That last line was my culprit, and looking at the formulae it was not added by Homebrew. I have no idea where it came from. So somehow that line was added to my configuration. But after removing it everything worked as expected.
Thanks for a great project 👍
Hey! I'm just getting started with this tool as I started working on a project that already had it configured. I like the way it should be working. But I seem to be unable to get it working properly.
When I run
clamp start
it just fails with the following logs:This is from a clamp.json config that is practically the same as the output of
clamp config write
, with some minor adjustments that should not affectmariadb
, just the apache server (I'll post the full config below).Any idea what might be the issue?
Here's my system info: OS: MacOS Monterey 12.7.5
mariadb
:mariadb from 11.4.2-MariaDB, client 15.2 for osx10.17 (x86_64) using EditLine wrapper
clamp.json
: