Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: NixOS/nixpkgs
base: 32e9296244a6
Choose a base ref
...
head repository: NixOS/nixpkgs
compare: d7f6cdeda4ea
Choose a head ref
  • 1 commit
  • 1 file changed
  • 1 contributor

Commits on Mar 9, 2019

  1. Fix locally created database (#56889)

    * zoneminder: fix initial database creation
    
    Move initialDatabases directive from the 'ensureUsers' scope to the correct outer 'mysql' one.
    
    * zoneminder: Fix mysql username to match unix username
    
    When database.createLocally is used, a mysql user is created with the ensureUsers directive.
    It ensures that the unix user with the name provided exists and can connect to MySQL through socket.
    Thus, the MySQL username used by php/perl scripts must match the unix user owning the server PID.
    
    This patch sets the default mysql user to 'zoneminder' instead of 'zmuser'.
    amazari authored and danbst committed Mar 9, 2019
    Copy the full SHA
    d7f6cde View commit details
    Browse the repository at this point in the history