{"action":"created","issue":{"url":"https://api.github.com/repos/hyn/multi-tenant/issues/167","repository_url":"https://api.github.com/repos/hyn/multi-tenant","labels_url":"https://api.github.com/repos/hyn/multi-tenant/issues/167/labels{/name}","comments_url":"https://api.github.com/repos/hyn/multi-tenant/issues/167/comments","events_url":"https://api.github.com/repos/hyn/multi-tenant/issues/167/events","html_url":"https://github.com/hyn/multi-tenant/issues/167","id":184153348,"number":167,"title":"Error when creating new customer/tenant","user":{"login":"aisha90","id":22116649,"avatar_url":"https://avatars.githubusercontent.com/u/22116649?v=3","gravatar_id":"","url":"https://api.github.com/users/aisha90","html_url":"https://github.com/aisha90","followers_url":"https://api.github.com/users/aisha90/followers","following_url":"https://api.github.com/users/aisha90/following{/other_user}","gists_url":"https://api.github.com/users/aisha90/gists{/gist_id}","starred_url":"https://api.github.com/users/aisha90/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aisha90/subscriptions","organizations_url":"https://api.github.com/users/aisha90/orgs","repos_url":"https://api.github.com/users/aisha90/repos","events_url":"https://api.github.com/users/aisha90/events{/privacy}","received_events_url":"https://api.github.com/users/aisha90/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2016-10-20T07:23:27Z","updated_at":"2016-10-20T07:37:13Z","closed_at":null,"body":"When I am trying to add a new tenant, its throwing this error:\r\n\r\nphp artisan multi-tenant:setup --customer=EXAMPLE3 --email=foo@example3.com --hostname=example3.com\r\nWelcome to hyn multi tenancy.\r\nCopied Directory [/vendor/hyn/multi-tenant/database/migrations] To [/database/migrations]\r\nPublishing complete for tag []!\r\nCopied Directory [/vendor/hyn/multi-tenant/database/migrations] To [/database/migrations]\r\nPublishing complete for tag []!\r\nFirst off, migrations for the packages will run.\r\nNot running tenancy migration, falling back on native laravel migrate command due to missing tenant option.\r\nNothing to migrate.\r\nsh: adduser: command not found\r\n\r\n                                                                                                                                                                                          \r\n  [Illuminate\\Database\\QueryException]                                                                                                                                                    \r\n  SQLSTATE[42000]: Syntax error or access violation: 1044 Access denied for user 'jamtak_hyn'@'localhost' to database '5-example3-c' (SQL: create database if not exists `5-example3-c`)  \r\n                                                                                                                                                                                          \r\n\r\n                                                                                                                                      \r\n  [Doctrine\\DBAL\\Driver\\PDOException]                                                                                                 \r\n  SQLSTATE[42000]: Syntax error or access violation: 1044 Access denied for user 'jamtak_hyn'@'localhost' to database '5-example3-c'  \r\n                                                                                                                                      \r\n\r\n                                                                                                                                      \r\n  [PDOException]                                                                                                                      \r\n  SQLSTATE[42000]: Syntax error or access violation: 1044 Access denied for user 'jamtak_hyn'@'localhost' to database '5-example3-c' \r\n\r\n\r\nIs there something that I missed during installation and setup? \r\n\r\nThank you,"},"comment":{"url":"https://api.github.com/repos/hyn/multi-tenant/issues/comments/255031517","html_url":"https://github.com/hyn/multi-tenant/issues/167#issuecomment-255031517","issue_url":"https://api.github.com/repos/hyn/multi-tenant/issues/167","id":255031517,"user":{"login":"aisha90","id":22116649,"avatar_url":"https://avatars.githubusercontent.com/u/22116649?v=3","gravatar_id":"","url":"https://api.github.com/users/aisha90","html_url":"https://github.com/aisha90","followers_url":"https://api.github.com/users/aisha90/followers","following_url":"https://api.github.com/users/aisha90/following{/other_user}","gists_url":"https://api.github.com/users/aisha90/gists{/gist_id}","starred_url":"https://api.github.com/users/aisha90/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aisha90/subscriptions","organizations_url":"https://api.github.com/users/aisha90/orgs","repos_url":"https://api.github.com/users/aisha90/repos","events_url":"https://api.github.com/users/aisha90/events{/privacy}","received_events_url":"https://api.github.com/users/aisha90/received_events","type":"User","site_admin":false},"created_at":"2016-10-20T07:37:13Z","updated_at":"2016-10-20T07:37:13Z","body":"yes, here it is\r\n\r\n![shot](https://cloud.githubusercontent.com/assets/22116649/19550216/e24a8292-96c1-11e6-90ad-5cd8711abc1f.PNG)\r\n"}}
{"actor":{"display_login":"aisha90"}}