Added ubuntu 22.04 support & Fix mysql connection problem && Fix permission problem#99
Added ubuntu 22.04 support & Fix mysql connection problem && Fix permission problem#99rayfalling wants to merge 4 commits intoZoneMinder:masterfrom
Conversation
|
Another problem: why images in docker hub is about 3 years ago? |
|
|
||
| mysql -u root -e "CREATE USER 'zmuser'@'localhost' IDENTIFIED BY 'zmpass';" | ||
| mysql -u root -e "GRANT ALL PRIVILEGES ON *.* TO 'zmuser'@'localhost';" | ||
| mysql -u root -e "ALTER USER 'zmuser'@'localhost' IDENTIFIED WITH mysql_native_password BY 'zmpass';" |
There was a problem hiding this comment.
Why? mysql_native_password is deprecated in modern mysql.
There was a problem hiding this comment.
Maybe you should update database connection code in zoneminder?
There was a problem hiding this comment.
https://dev.mysql.com/doc/refman/8.0/en/caching-sha2-pluggable-authentication.html seems like the now-default auth mechanism requires either a TLS connection or RSA-based auth, neither of which are worth it at all for a connection to a DB server inside the same container. It makes sense to switch it back to mysql_native_password imo to keep things simple.
There was a problem hiding this comment.
mysql_native_password is DEPRECATED. If you use it with modern mysql your logs will be spammed endlessly about it.
|
Docker hub started charging and we can't be bothered to figure out how to use them going forward. Better to use something else. |
|
I am currently running a local zoneminder instance and would like to use a provided docker image therefore. |
|
I don't use docker and can't be bothered. The best docker container at the moment is https://github.com/zoneminder-containers. We need someone who actually cares about docker to take over docker maintenance. |

No description provided.