-
Notifications
You must be signed in to change notification settings - Fork 285
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Mautic Error finding Mariadb socket #295
Comments
Hi, |
This issue has been mentioned on Mautic Forums. There might be relevant details there: https://forum.mautic.org/t/missing-enviromental-variables-in-run-time/33004/3 |
Hi Guys - Well, Easypanel resolved the issue for me. Just a one-click deploy. |
So the examples in the examples folder are completely useless then? Also this forum here seems to not be maintained. |
Hi, I have been trying to setup Mautic with docker-compose, and it is giving me this error and am unable to resolve that. Any help would be greatly appreciated.
`version: '3.7'
services:
mautic_web:
image: mautic/mautic:5.1-apache
container_name: mautic_web
ports:
- "8080:80"
environment:
MYSQL_HOST: db
MYSQL_PORT: 3306
MYSQL_DATABASE: mautic
MYSQL_USER: mautic
MYSQL_PASSWORD: mautic_password
MYSQL_ROOT_PASSWORD: root_password
volumes:
- mautic-config:/var/www/html/config
- mautic-media:/var/www/html/media
- mautic-logs:/var/www/html/var/logs
depends_on:
- db
db:
image: mysql:5.7
container_name: mautic_db
environment:
MYSQL_DATABASE: mautic
MYSQL_USER: mautic
MYSQL_PASSWORD: mautic_password
MYSQL_ROOT_PASSWORD: root_password
volumes:
- mautic-db:/var/lib/mysql
volumes:
mautic-config:
mautic-media:
mautic-logs:
mautic-db:
`
Error:
mysqladmin: connect to server at '' failed error: 'Can't connect to server on 'localhost' (99)' Check that mariadbd is running and that the socket: '/run/mysqld/mysqld.sock' exists! mysqladmin: connect to server at '' failed error: 'Can't connect to server on 'localhost' (99)' Check that mariadbd is running and that the socket: '/run/mysqld/mysqld.sock' exists! mysqladmin: connect to server at '' failed error: 'Can't connect to server on 'localhost' (99)' Check that mariadbd is running and that the socket: '/run/mysqld/mysqld.sock' exists! mysqladmin: connect to server at '' failed error: 'Can't connect to server on 'localhost' (99)' Check that mariadbd is running and that the socket: '/run/mysqld/mysqld.sock' exists! mysqladmin: connect to server at '' failed error: 'Can't connect to server on 'localhost' (99)' Check that mariadbd is running and that the socket: '/run/mysqld/mysqld.sock' exists!
The text was updated successfully, but these errors were encountered: