Database Connection Problem
Posted: Fri Feb 23, 2024 4:18 pm
Have mariadb in one container in podman pod, and ZM in another container in the same pod.
Inside the zm container:
... so I know that the ZM container shares the mariadb port.
Huh?
Inside the zm container:
Code: Select all
# nc -z -v mariadb 3306
mariadb (127.0.0.1:3306) open
Code: Select all
# mysql -u root -h 127.0.0.1:3306 -p < /usr/share/zoneminder/db/zm_create.sql
Enter password:
ERROR 2005 (HY000): Unknown server host '127.0.0.1:3306' (-2)