{"action":"created","issue":{"url":"https://api.github.com/repos/EVE-KILL/zKillboard/issues/299","labels_url":"https://api.github.com/repos/EVE-KILL/zKillboard/issues/299/labels{/name}","comments_url":"https://api.github.com/repos/EVE-KILL/zKillboard/issues/299/comments","events_url":"https://api.github.com/repos/EVE-KILL/zKillboard/issues/299/events","html_url":"https://github.com/EVE-KILL/zKillboard/issues/299","id":59817087,"number":299,"title":"classes/Dd.php - PDO Function ","user":{"login":"HowlingWind","id":7272444,"avatar_url":"https://avatars.githubusercontent.com/u/7272444?v=3","gravatar_id":"","url":"https://api.github.com/users/HowlingWind","html_url":"https://github.com/HowlingWind","followers_url":"https://api.github.com/users/HowlingWind/followers","following_url":"https://api.github.com/users/HowlingWind/following{/other_user}","gists_url":"https://api.github.com/users/HowlingWind/gists{/gist_id}","starred_url":"https://api.github.com/users/HowlingWind/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/HowlingWind/subscriptions","organizations_url":"https://api.github.com/users/HowlingWind/orgs","repos_url":"https://api.github.com/users/HowlingWind/repos","events_url":"https://api.github.com/users/HowlingWind/events{/privacy}","received_events_url":"https://api.github.com/users/HowlingWind/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-03-04T15:53:52Z","updated_at":"2015-03-04T16:13:08Z","closed_at":null,"body":"When running the installation process this error occurs. A lot of this stuff goes well over my head so Im just making you aware of the issue.\r\n\r\nPHP Fatal error:  Uncaught exception 'Exception' with message 'Unable to connect to database!' in /var/www/zKillboard/classes/Db.php:54\r\nStack trace:\r\n#0 /var/www/zKillboard/classes/Db.php(101): Db::getPDO()\r\n#1 /var/www/zKillboard/classes/Db.php(177): Db::query('select 1 one fr...', Array, 1, true)\r\n#2 /var/www/zKillboard/install/install.php(144): Db::queryField('select 1 one fr...', 'one', Array, 1)\r\n#3 {main}\r\n  thrown in /var/www/zKillboard/classes/Db.php on line 54\r\n\r\nFatal error: Uncaught exception 'Exception' with message 'Unable to connect to database!' in /var/www/zKillboard/classes/Db.php:54\r\nStack trace:\r\n#0 /var/www/zKillboard/classes/Db.php(101): Db::getPDO()\r\n#1 /var/www/zKillboard/classes/Db.php(177): Db::query('select 1 one fr...', Array, 1, true)\r\n#2 /var/www/zKillboard/install/install.php(144): Db::queryField('select 1 one fr...', 'one', Array, 1)\r\n#3 {main}\r\n  thrown in /var/www/zKillboard/classes/Db.php on line 54"},"comment":{"url":"https://api.github.com/repos/EVE-KILL/zKillboard/issues/comments/77187744","html_url":"https://github.com/EVE-KILL/zKillboard/issues/299#issuecomment-77187744","issue_url":"https://api.github.com/repos/EVE-KILL/zKillboard/issues/299","id":77187744,"user":{"login":"karbowiak","id":337661,"avatar_url":"https://avatars.githubusercontent.com/u/337661?v=3","gravatar_id":"","url":"https://api.github.com/users/karbowiak","html_url":"https://github.com/karbowiak","followers_url":"https://api.github.com/users/karbowiak/followers","following_url":"https://api.github.com/users/karbowiak/following{/other_user}","gists_url":"https://api.github.com/users/karbowiak/gists{/gist_id}","starred_url":"https://api.github.com/users/karbowiak/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/karbowiak/subscriptions","organizations_url":"https://api.github.com/users/karbowiak/orgs","repos_url":"https://api.github.com/users/karbowiak/repos","events_url":"https://api.github.com/users/karbowiak/events{/privacy}","received_events_url":"https://api.github.com/users/karbowiak/received_events","type":"User","site_admin":false},"created_at":"2015-03-04T16:13:07Z","updated_at":"2015-03-04T16:13:07Z","body":"It's telling you what the issue is, it cannot connect to your database for one reason or another. Be it the username/password that's wrong, or the db simply isn't running on the host/port you defined :)"}}