{"action":"created","issue":{"url":"https://api.github.com/repos/Homebrew/homebrew/issues/32973","repository_url":"https://api.github.com/repos/Homebrew/homebrew","labels_url":"https://api.github.com/repos/Homebrew/homebrew/issues/32973/labels{/name}","comments_url":"https://api.github.com/repos/Homebrew/homebrew/issues/32973/comments","events_url":"https://api.github.com/repos/Homebrew/homebrew/issues/32973/events","html_url":"https://github.com/Homebrew/homebrew/issues/32973","id":45014514,"number":32973,"title":"Packages with --with-mysql option not satisfied by mariadb","user":{"login":"justsomeone1001","id":8753730,"avatar_url":"https://avatars.githubusercontent.com/u/8753730?v=3","gravatar_id":"","url":"https://api.github.com/users/justsomeone1001","html_url":"https://github.com/justsomeone1001","followers_url":"https://api.github.com/users/justsomeone1001/followers","following_url":"https://api.github.com/users/justsomeone1001/following{/other_user}","gists_url":"https://api.github.com/users/justsomeone1001/gists{/gist_id}","starred_url":"https://api.github.com/users/justsomeone1001/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/justsomeone1001/subscriptions","organizations_url":"https://api.github.com/users/justsomeone1001/orgs","repos_url":"https://api.github.com/users/justsomeone1001/repos","events_url":"https://api.github.com/users/justsomeone1001/events{/privacy}","received_events_url":"https://api.github.com/users/justsomeone1001/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2014-10-06T18:03:14Z","updated_at":"2016-04-02T16:08:29Z","closed_at":"2016-04-02T16:08:29Z","body":"Mariadb and mysql have a conflict, but mariadb provides everything to satisfy any dependency on mysql, including mysql_config.  Packages that depend on mysql, or have a --with-mysql option, however, try to pull in mysql even though mariadb is installed.  An example is gdal.  After discussing this with tdsmith in the irc, changing the \"mysql\" dependency to :mysql in the formula resolved the problem.  \r\n\r\nI'm not sure how many packages this affects, but the problem had arisen every time I tried to use the --with-mysql option.  I think its pretty broad.  "},"comment":{"url":"https://api.github.com/repos/Homebrew/homebrew/issues/comments/204746688","html_url":"https://github.com/Homebrew/homebrew/issues/32973#issuecomment-204746688","issue_url":"https://api.github.com/repos/Homebrew/homebrew/issues/32973","id":204746688,"user":{"login":"mikemcquaid","id":125011,"avatar_url":"https://avatars.githubusercontent.com/u/125011?v=3","gravatar_id":"","url":"https://api.github.com/users/mikemcquaid","html_url":"https://github.com/mikemcquaid","followers_url":"https://api.github.com/users/mikemcquaid/followers","following_url":"https://api.github.com/users/mikemcquaid/following{/other_user}","gists_url":"https://api.github.com/users/mikemcquaid/gists{/gist_id}","starred_url":"https://api.github.com/users/mikemcquaid/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mikemcquaid/subscriptions","organizations_url":"https://api.github.com/users/mikemcquaid/orgs","repos_url":"https://api.github.com/users/mikemcquaid/repos","events_url":"https://api.github.com/users/mikemcquaid/events{/privacy}","received_events_url":"https://api.github.com/users/mikemcquaid/received_events","type":"User","site_admin":true},"created_at":"2016-04-02T16:08:29Z","updated_at":"2016-04-02T16:08:29Z","body":"`--with-mysql` uses MySQL. This is intentional but we'll accept pull requests to make this more configurable on a per-formula basis."}}