{"action":"created","issue":{"url":"https://api.github.com/repos/laravel/framework/issues/23922","repository_url":"https://api.github.com/repos/laravel/framework","labels_url":"https://api.github.com/repos/laravel/framework/issues/23922/labels{/name}","comments_url":"https://api.github.com/repos/laravel/framework/issues/23922/comments","events_url":"https://api.github.com/repos/laravel/framework/issues/23922/events","html_url":"https://github.com/laravel/framework/issues/23922","id":315415674,"number":23922,"title":"i cant run migrate","user":{"login":"hosamalzagh","id":16501589,"avatar_url":"https://avatars1.githubusercontent.com/u/16501589?v=4","gravatar_id":"","url":"https://api.github.com/users/hosamalzagh","html_url":"https://github.com/hosamalzagh","followers_url":"https://api.github.com/users/hosamalzagh/followers","following_url":"https://api.github.com/users/hosamalzagh/following{/other_user}","gists_url":"https://api.github.com/users/hosamalzagh/gists{/gist_id}","starred_url":"https://api.github.com/users/hosamalzagh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hosamalzagh/subscriptions","organizations_url":"https://api.github.com/users/hosamalzagh/orgs","repos_url":"https://api.github.com/users/hosamalzagh/repos","events_url":"https://api.github.com/users/hosamalzagh/events{/privacy}","received_events_url":"https://api.github.com/users/hosamalzagh/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-04-18T10:09:14Z","updated_at":"2018-04-18T10:54:58Z","closed_at":null,"author_association":"NONE","body":"- Laravel Version:  Laravel Framework 5.6.16  \r\n- Database Driver & Version:   mysql 5.7.19\r\n---------------------------\r\nPS D:\\h\\work\\wamp64\\www\\laravel\\newhob> php artisan migrate\r\n\r\n   Illuminate\\Database\\QueryException  : could not find driver (SQL: select * from information_schema.tables where table_schema = newhob and table_name = migrations)\r\n\r\n  at D:\\h\\work\\wamp64\\www\\laravel\\newhob\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Connection.php:664\r\n    660|         // If an exception occurs when attempting to run a query, we'll format the error\r\n    661|         // message to include the bindings with SQL, which will make this exception a\r\n    662|         // lot more helpful to the developer instead of just the database's errors.\r\n    663|         catch (Exception $e) {\r\n  > 664|             throw new QueryException(\r\n    665|                 $query, $this->prepareBindings($bindings), $e\r\n    666|             );\r\n    667|         }\r\n    668|\r\n\r\n  Exception trace:\r\n\r\n  1   PDOException::(\"could not find driver\")\r\n      D:\\h\\work\\wamp64\\www\\laravel\\newhob\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Connectors\\Connector.php:68\r\n\r\n  2   PDO::__construct(\"mysql:host=127.0.0.1;port=3306;dbname=newhob\", \"root\", \"\", [])\r\n      D:\\h\\work\\wamp64\\www\\laravel\\newhob\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Connectors\\Connector.php:68\r\n\r\n  Please use the argument -v to see more details.\r\n\r\n----------------------\r\ni remove (;) extension=php_pdo_mysql.dll\r\nand i tray this\r\n\r\nuse Illuminate\\Support\\Facades\\Schema;\r\n\r\npublic function boot()\r\n{\r\n//\r\n    Schema::defaultStringLength(191);\r\n}\r\n\r\ni get this error\r\nIn AppServiceProvider.php line 17:\r\n\r\n  Class 'App\\Providers\\Schema' not found\r\n\r\n\r\n\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/laravel/framework/issues/comments/382347453","html_url":"https://github.com/laravel/framework/issues/23922#issuecomment-382347453","issue_url":"https://api.github.com/repos/laravel/framework/issues/23922","id":382347453,"user":{"login":"Fei77","id":34701797,"avatar_url":"https://avatars3.githubusercontent.com/u/34701797?v=4","gravatar_id":"","url":"https://api.github.com/users/Fei77","html_url":"https://github.com/Fei77","followers_url":"https://api.github.com/users/Fei77/followers","following_url":"https://api.github.com/users/Fei77/following{/other_user}","gists_url":"https://api.github.com/users/Fei77/gists{/gist_id}","starred_url":"https://api.github.com/users/Fei77/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Fei77/subscriptions","organizations_url":"https://api.github.com/users/Fei77/orgs","repos_url":"https://api.github.com/users/Fei77/repos","events_url":"https://api.github.com/users/Fei77/events{/privacy}","received_events_url":"https://api.github.com/users/Fei77/received_events","type":"User","site_admin":false},"created_at":"2018-04-18T10:54:58Z","updated_at":"2018-04-18T10:54:58Z","author_association":"NONE","body":"try adding `use Schema;` below namespace."}}
{"actor":{"display_login":"Fei77"}}