{"action":"created","issue":{"url":"https://api.github.com/repos/brunosantoshx/serie-criando-sistema-de-cadastro-e-login/issues/15","repository_url":"https://api.github.com/repos/brunosantoshx/serie-criando-sistema-de-cadastro-e-login","labels_url":"https://api.github.com/repos/brunosantoshx/serie-criando-sistema-de-cadastro-e-login/issues/15/labels{/name}","comments_url":"https://api.github.com/repos/brunosantoshx/serie-criando-sistema-de-cadastro-e-login/issues/15/comments","events_url":"https://api.github.com/repos/brunosantoshx/serie-criando-sistema-de-cadastro-e-login/issues/15/events","html_url":"https://github.com/brunosantoshx/serie-criando-sistema-de-cadastro-e-login/issues/15","id":147408628,"number":15,"title":"composer/activeRecord","user":{"login":"ianpjs","id":18289799,"avatar_url":"https://avatars.githubusercontent.com/u/18289799?v=3","gravatar_id":"","url":"https://api.github.com/users/ianpjs","html_url":"https://github.com/ianpjs","followers_url":"https://api.github.com/users/ianpjs/followers","following_url":"https://api.github.com/users/ianpjs/following{/other_user}","gists_url":"https://api.github.com/users/ianpjs/gists{/gist_id}","starred_url":"https://api.github.com/users/ianpjs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ianpjs/subscriptions","organizations_url":"https://api.github.com/users/ianpjs/orgs","repos_url":"https://api.github.com/users/ianpjs/repos","events_url":"https://api.github.com/users/ianpjs/events{/privacy}","received_events_url":"https://api.github.com/users/ianpjs/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-04-11T12:14:53Z","updated_at":"2016-04-22T21:26:04Z","closed_at":"2016-04-22T21:26:04Z","body":"Olá, primeiro eu gostaria de agradecer pela série que você produziu, ela é realmente incrível.\r\n\r\nEu estou com um problema, desde que eu dei o fork como você recomendou em uma das aulas, sempre que aperto o botão \"cadastrar\" a seguinte mensagem de erro aparece:\r\n\r\n\r\nFatal error: Uncaught exception 'ActiveRecord\\DatabaseException' with message 'exception 'PDOException' with message 'SQLSTATE[HY000] [1045] Access denied for user 'root'@'localhost' (using password: NO)' in C:\\Users\\Public\\Documents\\xampp\\htdocs\\sistema\\vendor\\php-activerecord\\php-activerecord\\lib\\Connection.php:249 Stack trace: #0 C:\\Users\\Public\\Documents\\xampp\\htdocs\\sistema\\vendor\\php-activerecord\\php-activerecord\\lib\\Connection.php(249): PDO->__construct('mysql:host=loca...', 'root', NULL, Array) #1 C:\\Users\\Public\\Documents\\xampp\\htdocs\\sistema\\vendor\\php-activerecord\\php-activerecord\\lib\\Connection.php(111): ActiveRecord\\Connection->__construct(Object(stdClass)) #2 C:\\Users\\Public\\Documents\\xampp\\htdocs\\sistema\\vendor\\php-activerecord\\php-activerecord\\lib\\ConnectionManager.php(33): ActiveRecord\\Connection::instance('mysql://root:@l...') #3 C:\\Users\\Public\\Documents\\xampp\\htdocs\\sistema\\vendor\\php-activerecord\\php-activerecord\\lib\\Table.php(114): ActiveRecord\\ConnectionManager::get_connection(NULL) #4 C:\\Users\\Publ in C:\\Users\\Public\\Documents\\xampp\\htdocs\\sistema\\vendor\\php-activerecord\\php-activerecord\\lib\\Connection.php on line 251\r\n\r\n\r\nO que poderia ser esse erro e como arrumá-lo ?"},"comment":{"url":"https://api.github.com/repos/brunosantoshx/serie-criando-sistema-de-cadastro-e-login/issues/comments/213593731","html_url":"https://github.com/brunosantoshx/serie-criando-sistema-de-cadastro-e-login/issues/15#issuecomment-213593731","issue_url":"https://api.github.com/repos/brunosantoshx/serie-criando-sistema-de-cadastro-e-login/issues/15","id":213593731,"user":{"login":"brunosantoshx","id":12786160,"avatar_url":"https://avatars.githubusercontent.com/u/12786160?v=3","gravatar_id":"","url":"https://api.github.com/users/brunosantoshx","html_url":"https://github.com/brunosantoshx","followers_url":"https://api.github.com/users/brunosantoshx/followers","following_url":"https://api.github.com/users/brunosantoshx/following{/other_user}","gists_url":"https://api.github.com/users/brunosantoshx/gists{/gist_id}","starred_url":"https://api.github.com/users/brunosantoshx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brunosantoshx/subscriptions","organizations_url":"https://api.github.com/users/brunosantoshx/orgs","repos_url":"https://api.github.com/users/brunosantoshx/repos","events_url":"https://api.github.com/users/brunosantoshx/events{/privacy}","received_events_url":"https://api.github.com/users/brunosantoshx/received_events","type":"User","site_admin":false},"created_at":"2016-04-22T21:26:04Z","updated_at":"2016-04-22T21:26:04Z","body":"Olá @ianpjs, como vai?\r\n\r\nO problema é que os dados de conexão com o banco de dados do repositório oficial são diferentes dos do seu projeto. Atualize as credenciais no arquivo de configuração e tudo deverá funcionar corretamente.\r\n\r\nForte abraço e sucesso sempre!"}}