{"action":"closed","issue":{"url":"https://api.github.com/repos/gerbera/gerbera/issues/318","repository_url":"https://api.github.com/repos/gerbera/gerbera","labels_url":"https://api.github.com/repos/gerbera/gerbera/issues/318/labels{/name}","comments_url":"https://api.github.com/repos/gerbera/gerbera/issues/318/comments","events_url":"https://api.github.com/repos/gerbera/gerbera/issues/318/events","html_url":"https://github.com/gerbera/gerbera/issues/318","id":335112446,"node_id":"MDU6SXNzdWUzMzUxMTI0NDY=","number":318,"title":"MySQL database","user":{"login":"nrietsch","id":23036298,"node_id":"MDQ6VXNlcjIzMDM2Mjk4","avatar_url":"https://avatars0.githubusercontent.com/u/23036298?v=4","gravatar_id":"","url":"https://api.github.com/users/nrietsch","html_url":"https://github.com/nrietsch","followers_url":"https://api.github.com/users/nrietsch/followers","following_url":"https://api.github.com/users/nrietsch/following{/other_user}","gists_url":"https://api.github.com/users/nrietsch/gists{/gist_id}","starred_url":"https://api.github.com/users/nrietsch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nrietsch/subscriptions","organizations_url":"https://api.github.com/users/nrietsch/orgs","repos_url":"https://api.github.com/users/nrietsch/repos","events_url":"https://api.github.com/users/nrietsch/events{/privacy}","received_events_url":"https://api.github.com/users/nrietsch/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2018-06-23T16:16:38Z","updated_at":"2018-06-27T09:47:04Z","closed_at":"2018-06-27T09:47:04Z","author_association":"NONE","body":"Hi,\r\n\r\nI'm using Ubuntu 16.04 with MySQL server 5.7\r\n\r\nI modified the /etc/gerbera/config.xml file as follow:\r\n```\r\n    <storage>\r\n      <sqlite3 enabled=\"no\">\r\n        <database-file>gerbera.db</database-file>\r\n      </sqlite3>\r\n      <mysql enabled=\"yes\">\r\n        <host>localhost</host>\r\n\t<port>3306</port>\r\n\t<database>gerbera</database>\r\n        <username>username</username>\r\n\t<password>password</password>\r\n      </mysql>\r\n    </storage>\r\n```\r\n\r\nThis is based on the following article:\r\nhttps://wiki.gentoo.org/wiki/Gerbera#MySQL\r\n\r\n`<host>` has been set to 'localhost' and its IP address\r\n`<port>` has been omitted and set to 3306 (default MySQL port)\r\n`<username>` is set to the proper username with the required access:\r\nGRANT ALL ON gerbera.* TO 'username'@'localhost' IDENTIFIED BY 'password';\r\n\r\nTried to start the gerbera service with the database but no tables\r\nTried to start gerbera witht the table structure taken from /usr/share/gerbera/mysql.sql\r\nTried to start gerbera witht the table structure taken from https://github.com/gerbera/gerbera/blob/master/config/mysql.sql\r\n\r\nIn each case, the service will not start and I cannot locate any useful log saying why.\r\n\r\nIs there something missing in the documentation or am I doing something wrong?\r\n"}}
{"actor":{"display_login":"v00d00"}}