IlluminateDatabaseQuerryException : could not find driver Error





.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty{ height:90px;width:728px;box-sizing:border-box;
}







0















I have an error when trying to execute the command



php artisan migrate


on my Windows Command Prompt I've already tried many solutions from the internet by uncommenting



extension=pdo_mysql 


in my php.ini configuration on Xampp but it still not working, is there any working solution to solve this problem?



ERROR
enter image description here










share|improve this question































    0















    I have an error when trying to execute the command



    php artisan migrate


    on my Windows Command Prompt I've already tried many solutions from the internet by uncommenting



    extension=pdo_mysql 


    in my php.ini configuration on Xampp but it still not working, is there any working solution to solve this problem?



    ERROR
    enter image description here










    share|improve this question



























      0












      0








      0








      I have an error when trying to execute the command



      php artisan migrate


      on my Windows Command Prompt I've already tried many solutions from the internet by uncommenting



      extension=pdo_mysql 


      in my php.ini configuration on Xampp but it still not working, is there any working solution to solve this problem?



      ERROR
      enter image description here










      share|improve this question
















      I have an error when trying to execute the command



      php artisan migrate


      on my Windows Command Prompt I've already tried many solutions from the internet by uncommenting



      extension=pdo_mysql 


      in my php.ini configuration on Xampp but it still not working, is there any working solution to solve this problem?



      ERROR
      enter image description here







      php laravel artisan-migrate






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited Jan 3 at 7:08









      Muhammad Bilal

      1,80311222




      1,80311222










      asked Jan 3 at 6:16









      Miyuki OukaMiyuki Ouka

      14




      14
























          5 Answers
          5






          active

          oldest

          votes


















          1














          go to "config" folder of your project and open database.php



          and replace with this code



             'mysql' => [
          'driver' => 'mysql',
          'host' => env('DB_HOST', '127.0.0.1'),
          'port' => env('DB_PORT', '3306'),
          'database' => env('DB_DATABASE', 'forge'),
          'username' => env('DB_USERNAME', 'forge'),
          'password' => env('DB_PASSWORD', ''),
          'unix_socket' => env('DB_SOCKET', ''),
          'charset' => 'utf8mb4',
          'collation' => 'utf8mb4_unicode_ci',
          'prefix' => '',
          'strict' => true,
          'engine' => 'InnoDB',
          ],





          share|improve this answer
























          • it still the same

            – Miyuki Ouka
            Jan 3 at 6:30











          • please change your php version to 7.2 and restart your server

            – Boni
            Jan 3 at 6:57











          • okay, I'm gonna try

            – Miyuki Ouka
            Jan 3 at 7:08











          • I've already installed the Xampp with php version 7.2 but it doesn't work

            – Miyuki Ouka
            Jan 3 at 8:33











          • did you make changes in database.php if you did my suggestion is to reinstall laravel and do change in database.php and try php artisan migrate i think this will work

            – Boni
            Jan 3 at 9:08



















          0














          you can use
          First check php version by using php --version and install the corresponding driver.



          sudo apt-get install php7-mysql


          Or



          sudo apt-get install php5-mysql


          or



          sudo apt-get install php-mysql





          share|improve this answer
























          • I'm using windows 7 how I can execute those command?

            – Miyuki Ouka
            Jan 3 at 6:31











          • @MiyukiOuka Which PHP version are you using?

            – Rajesh
            Jan 3 at 6:39











          • @MiyukiOuka This can happen for a Number of reasons. Either the Default DB type is not set (config/database.php), or the Extension is not enabled, or you HAVE enabled the extension but have NOT restarted XAMPP, or the PATH settings under environment settings are not properly defined. I suggest you check out this answer which may solve the issue: stackoverflow.com/a/25336292/2745485

            – Rajesh
            Jan 3 at 6:42











          • I'm using php version 7.3.0

            – Miyuki Ouka
            Jan 3 at 6:49





















          0














          You might need to un-comment extension=php_pdo_mysql.dll.



          Dont forget to restart xampp after un-commenting.






          share|improve this answer
























          • yes, I've already tried that but still the same

            – Miyuki Ouka
            Jan 3 at 7:07



















          0














          okay, I think I just realized something, I run php command from my cmd and after I deleting php directory on C:, the php command is gone, so I assume I have to run the command from Xampp shell in order to give a command to php in Xampp service, it works with that way, thank you






          share|improve this answer































            0














            Run Following command:



            composer require doctrine/dbal
            composer update


            It looks like you have a missing dependency it showing error on your image.



            Also Windows users, PDO and all the major drivers ship with PHP as shared extensions, and simply need to be activated by editing the php.ini file:



            extension=php_pdo.dll


            Note: This step is not necessary for PHP 5.3 and above, as a DLL is no longer required for PDO.






            share|improve this answer


























            • @MiyukiOuka What happened after trying?

              – Udhav Sarvaiya
              Jan 3 at 8:05











            • it still the same

              – Miyuki Ouka
              Jan 3 at 8:30











            • @MiyukiOuka for testing purpose: create a new database and set in .env file after run php artisan migrate command execute, try it maybe it helps you

              – Udhav Sarvaiya
              Jan 3 at 8:35













            • done and still the same :'(

              – Miyuki Ouka
              Jan 3 at 8:45











            • Okay, when you get a solution, please post as an answer :)

              – Udhav Sarvaiya
              Jan 3 at 8:55












            Your Answer






            StackExchange.ifUsing("editor", function () {
            StackExchange.using("externalEditor", function () {
            StackExchange.using("snippets", function () {
            StackExchange.snippets.init();
            });
            });
            }, "code-snippets");

            StackExchange.ready(function() {
            var channelOptions = {
            tags: "".split(" "),
            id: "1"
            };
            initTagRenderer("".split(" "), "".split(" "), channelOptions);

            StackExchange.using("externalEditor", function() {
            // Have to fire editor after snippets, if snippets enabled
            if (StackExchange.settings.snippets.snippetsEnabled) {
            StackExchange.using("snippets", function() {
            createEditor();
            });
            }
            else {
            createEditor();
            }
            });

            function createEditor() {
            StackExchange.prepareEditor({
            heartbeatType: 'answer',
            autoActivateHeartbeat: false,
            convertImagesToLinks: true,
            noModals: true,
            showLowRepImageUploadWarning: true,
            reputationToPostImages: 10,
            bindNavPrevention: true,
            postfix: "",
            imageUploader: {
            brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
            contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
            allowUrls: true
            },
            onDemand: true,
            discardSelector: ".discard-answer"
            ,immediatelyShowMarkdownHelp:true
            });


            }
            });














            draft saved

            draft discarded


















            StackExchange.ready(
            function () {
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f54017199%2filluminate-database-querryexception-could-not-find-driver-error%23new-answer', 'question_page');
            }
            );

            Post as a guest















            Required, but never shown

























            5 Answers
            5






            active

            oldest

            votes








            5 Answers
            5






            active

            oldest

            votes









            active

            oldest

            votes






            active

            oldest

            votes









            1














            go to "config" folder of your project and open database.php



            and replace with this code



               'mysql' => [
            'driver' => 'mysql',
            'host' => env('DB_HOST', '127.0.0.1'),
            'port' => env('DB_PORT', '3306'),
            'database' => env('DB_DATABASE', 'forge'),
            'username' => env('DB_USERNAME', 'forge'),
            'password' => env('DB_PASSWORD', ''),
            'unix_socket' => env('DB_SOCKET', ''),
            'charset' => 'utf8mb4',
            'collation' => 'utf8mb4_unicode_ci',
            'prefix' => '',
            'strict' => true,
            'engine' => 'InnoDB',
            ],





            share|improve this answer
























            • it still the same

              – Miyuki Ouka
              Jan 3 at 6:30











            • please change your php version to 7.2 and restart your server

              – Boni
              Jan 3 at 6:57











            • okay, I'm gonna try

              – Miyuki Ouka
              Jan 3 at 7:08











            • I've already installed the Xampp with php version 7.2 but it doesn't work

              – Miyuki Ouka
              Jan 3 at 8:33











            • did you make changes in database.php if you did my suggestion is to reinstall laravel and do change in database.php and try php artisan migrate i think this will work

              – Boni
              Jan 3 at 9:08
















            1














            go to "config" folder of your project and open database.php



            and replace with this code



               'mysql' => [
            'driver' => 'mysql',
            'host' => env('DB_HOST', '127.0.0.1'),
            'port' => env('DB_PORT', '3306'),
            'database' => env('DB_DATABASE', 'forge'),
            'username' => env('DB_USERNAME', 'forge'),
            'password' => env('DB_PASSWORD', ''),
            'unix_socket' => env('DB_SOCKET', ''),
            'charset' => 'utf8mb4',
            'collation' => 'utf8mb4_unicode_ci',
            'prefix' => '',
            'strict' => true,
            'engine' => 'InnoDB',
            ],





            share|improve this answer
























            • it still the same

              – Miyuki Ouka
              Jan 3 at 6:30











            • please change your php version to 7.2 and restart your server

              – Boni
              Jan 3 at 6:57











            • okay, I'm gonna try

              – Miyuki Ouka
              Jan 3 at 7:08











            • I've already installed the Xampp with php version 7.2 but it doesn't work

              – Miyuki Ouka
              Jan 3 at 8:33











            • did you make changes in database.php if you did my suggestion is to reinstall laravel and do change in database.php and try php artisan migrate i think this will work

              – Boni
              Jan 3 at 9:08














            1












            1








            1







            go to "config" folder of your project and open database.php



            and replace with this code



               'mysql' => [
            'driver' => 'mysql',
            'host' => env('DB_HOST', '127.0.0.1'),
            'port' => env('DB_PORT', '3306'),
            'database' => env('DB_DATABASE', 'forge'),
            'username' => env('DB_USERNAME', 'forge'),
            'password' => env('DB_PASSWORD', ''),
            'unix_socket' => env('DB_SOCKET', ''),
            'charset' => 'utf8mb4',
            'collation' => 'utf8mb4_unicode_ci',
            'prefix' => '',
            'strict' => true,
            'engine' => 'InnoDB',
            ],





            share|improve this answer













            go to "config" folder of your project and open database.php



            and replace with this code



               'mysql' => [
            'driver' => 'mysql',
            'host' => env('DB_HOST', '127.0.0.1'),
            'port' => env('DB_PORT', '3306'),
            'database' => env('DB_DATABASE', 'forge'),
            'username' => env('DB_USERNAME', 'forge'),
            'password' => env('DB_PASSWORD', ''),
            'unix_socket' => env('DB_SOCKET', ''),
            'charset' => 'utf8mb4',
            'collation' => 'utf8mb4_unicode_ci',
            'prefix' => '',
            'strict' => true,
            'engine' => 'InnoDB',
            ],






            share|improve this answer












            share|improve this answer



            share|improve this answer










            answered Jan 3 at 6:22









            BoniBoni

            338




            338













            • it still the same

              – Miyuki Ouka
              Jan 3 at 6:30











            • please change your php version to 7.2 and restart your server

              – Boni
              Jan 3 at 6:57











            • okay, I'm gonna try

              – Miyuki Ouka
              Jan 3 at 7:08











            • I've already installed the Xampp with php version 7.2 but it doesn't work

              – Miyuki Ouka
              Jan 3 at 8:33











            • did you make changes in database.php if you did my suggestion is to reinstall laravel and do change in database.php and try php artisan migrate i think this will work

              – Boni
              Jan 3 at 9:08



















            • it still the same

              – Miyuki Ouka
              Jan 3 at 6:30











            • please change your php version to 7.2 and restart your server

              – Boni
              Jan 3 at 6:57











            • okay, I'm gonna try

              – Miyuki Ouka
              Jan 3 at 7:08











            • I've already installed the Xampp with php version 7.2 but it doesn't work

              – Miyuki Ouka
              Jan 3 at 8:33











            • did you make changes in database.php if you did my suggestion is to reinstall laravel and do change in database.php and try php artisan migrate i think this will work

              – Boni
              Jan 3 at 9:08

















            it still the same

            – Miyuki Ouka
            Jan 3 at 6:30





            it still the same

            – Miyuki Ouka
            Jan 3 at 6:30













            please change your php version to 7.2 and restart your server

            – Boni
            Jan 3 at 6:57





            please change your php version to 7.2 and restart your server

            – Boni
            Jan 3 at 6:57













            okay, I'm gonna try

            – Miyuki Ouka
            Jan 3 at 7:08





            okay, I'm gonna try

            – Miyuki Ouka
            Jan 3 at 7:08













            I've already installed the Xampp with php version 7.2 but it doesn't work

            – Miyuki Ouka
            Jan 3 at 8:33





            I've already installed the Xampp with php version 7.2 but it doesn't work

            – Miyuki Ouka
            Jan 3 at 8:33













            did you make changes in database.php if you did my suggestion is to reinstall laravel and do change in database.php and try php artisan migrate i think this will work

            – Boni
            Jan 3 at 9:08





            did you make changes in database.php if you did my suggestion is to reinstall laravel and do change in database.php and try php artisan migrate i think this will work

            – Boni
            Jan 3 at 9:08













            0














            you can use
            First check php version by using php --version and install the corresponding driver.



            sudo apt-get install php7-mysql


            Or



            sudo apt-get install php5-mysql


            or



            sudo apt-get install php-mysql





            share|improve this answer
























            • I'm using windows 7 how I can execute those command?

              – Miyuki Ouka
              Jan 3 at 6:31











            • @MiyukiOuka Which PHP version are you using?

              – Rajesh
              Jan 3 at 6:39











            • @MiyukiOuka This can happen for a Number of reasons. Either the Default DB type is not set (config/database.php), or the Extension is not enabled, or you HAVE enabled the extension but have NOT restarted XAMPP, or the PATH settings under environment settings are not properly defined. I suggest you check out this answer which may solve the issue: stackoverflow.com/a/25336292/2745485

              – Rajesh
              Jan 3 at 6:42











            • I'm using php version 7.3.0

              – Miyuki Ouka
              Jan 3 at 6:49


















            0














            you can use
            First check php version by using php --version and install the corresponding driver.



            sudo apt-get install php7-mysql


            Or



            sudo apt-get install php5-mysql


            or



            sudo apt-get install php-mysql





            share|improve this answer
























            • I'm using windows 7 how I can execute those command?

              – Miyuki Ouka
              Jan 3 at 6:31











            • @MiyukiOuka Which PHP version are you using?

              – Rajesh
              Jan 3 at 6:39











            • @MiyukiOuka This can happen for a Number of reasons. Either the Default DB type is not set (config/database.php), or the Extension is not enabled, or you HAVE enabled the extension but have NOT restarted XAMPP, or the PATH settings under environment settings are not properly defined. I suggest you check out this answer which may solve the issue: stackoverflow.com/a/25336292/2745485

              – Rajesh
              Jan 3 at 6:42











            • I'm using php version 7.3.0

              – Miyuki Ouka
              Jan 3 at 6:49
















            0












            0








            0







            you can use
            First check php version by using php --version and install the corresponding driver.



            sudo apt-get install php7-mysql


            Or



            sudo apt-get install php5-mysql


            or



            sudo apt-get install php-mysql





            share|improve this answer













            you can use
            First check php version by using php --version and install the corresponding driver.



            sudo apt-get install php7-mysql


            Or



            sudo apt-get install php5-mysql


            or



            sudo apt-get install php-mysql






            share|improve this answer












            share|improve this answer



            share|improve this answer










            answered Jan 3 at 6:22









            RajeshRajesh

            1258




            1258













            • I'm using windows 7 how I can execute those command?

              – Miyuki Ouka
              Jan 3 at 6:31











            • @MiyukiOuka Which PHP version are you using?

              – Rajesh
              Jan 3 at 6:39











            • @MiyukiOuka This can happen for a Number of reasons. Either the Default DB type is not set (config/database.php), or the Extension is not enabled, or you HAVE enabled the extension but have NOT restarted XAMPP, or the PATH settings under environment settings are not properly defined. I suggest you check out this answer which may solve the issue: stackoverflow.com/a/25336292/2745485

              – Rajesh
              Jan 3 at 6:42











            • I'm using php version 7.3.0

              – Miyuki Ouka
              Jan 3 at 6:49





















            • I'm using windows 7 how I can execute those command?

              – Miyuki Ouka
              Jan 3 at 6:31











            • @MiyukiOuka Which PHP version are you using?

              – Rajesh
              Jan 3 at 6:39











            • @MiyukiOuka This can happen for a Number of reasons. Either the Default DB type is not set (config/database.php), or the Extension is not enabled, or you HAVE enabled the extension but have NOT restarted XAMPP, or the PATH settings under environment settings are not properly defined. I suggest you check out this answer which may solve the issue: stackoverflow.com/a/25336292/2745485

              – Rajesh
              Jan 3 at 6:42











            • I'm using php version 7.3.0

              – Miyuki Ouka
              Jan 3 at 6:49



















            I'm using windows 7 how I can execute those command?

            – Miyuki Ouka
            Jan 3 at 6:31





            I'm using windows 7 how I can execute those command?

            – Miyuki Ouka
            Jan 3 at 6:31













            @MiyukiOuka Which PHP version are you using?

            – Rajesh
            Jan 3 at 6:39





            @MiyukiOuka Which PHP version are you using?

            – Rajesh
            Jan 3 at 6:39













            @MiyukiOuka This can happen for a Number of reasons. Either the Default DB type is not set (config/database.php), or the Extension is not enabled, or you HAVE enabled the extension but have NOT restarted XAMPP, or the PATH settings under environment settings are not properly defined. I suggest you check out this answer which may solve the issue: stackoverflow.com/a/25336292/2745485

            – Rajesh
            Jan 3 at 6:42





            @MiyukiOuka This can happen for a Number of reasons. Either the Default DB type is not set (config/database.php), or the Extension is not enabled, or you HAVE enabled the extension but have NOT restarted XAMPP, or the PATH settings under environment settings are not properly defined. I suggest you check out this answer which may solve the issue: stackoverflow.com/a/25336292/2745485

            – Rajesh
            Jan 3 at 6:42













            I'm using php version 7.3.0

            – Miyuki Ouka
            Jan 3 at 6:49







            I'm using php version 7.3.0

            – Miyuki Ouka
            Jan 3 at 6:49













            0














            You might need to un-comment extension=php_pdo_mysql.dll.



            Dont forget to restart xampp after un-commenting.






            share|improve this answer
























            • yes, I've already tried that but still the same

              – Miyuki Ouka
              Jan 3 at 7:07
















            0














            You might need to un-comment extension=php_pdo_mysql.dll.



            Dont forget to restart xampp after un-commenting.






            share|improve this answer
























            • yes, I've already tried that but still the same

              – Miyuki Ouka
              Jan 3 at 7:07














            0












            0








            0







            You might need to un-comment extension=php_pdo_mysql.dll.



            Dont forget to restart xampp after un-commenting.






            share|improve this answer













            You might need to un-comment extension=php_pdo_mysql.dll.



            Dont forget to restart xampp after un-commenting.







            share|improve this answer












            share|improve this answer



            share|improve this answer










            answered Jan 3 at 7:00









            Muhammad BilalMuhammad Bilal

            1,80311222




            1,80311222













            • yes, I've already tried that but still the same

              – Miyuki Ouka
              Jan 3 at 7:07



















            • yes, I've already tried that but still the same

              – Miyuki Ouka
              Jan 3 at 7:07

















            yes, I've already tried that but still the same

            – Miyuki Ouka
            Jan 3 at 7:07





            yes, I've already tried that but still the same

            – Miyuki Ouka
            Jan 3 at 7:07











            0














            okay, I think I just realized something, I run php command from my cmd and after I deleting php directory on C:, the php command is gone, so I assume I have to run the command from Xampp shell in order to give a command to php in Xampp service, it works with that way, thank you






            share|improve this answer




























              0














              okay, I think I just realized something, I run php command from my cmd and after I deleting php directory on C:, the php command is gone, so I assume I have to run the command from Xampp shell in order to give a command to php in Xampp service, it works with that way, thank you






              share|improve this answer


























                0












                0








                0







                okay, I think I just realized something, I run php command from my cmd and after I deleting php directory on C:, the php command is gone, so I assume I have to run the command from Xampp shell in order to give a command to php in Xampp service, it works with that way, thank you






                share|improve this answer













                okay, I think I just realized something, I run php command from my cmd and after I deleting php directory on C:, the php command is gone, so I assume I have to run the command from Xampp shell in order to give a command to php in Xampp service, it works with that way, thank you







                share|improve this answer












                share|improve this answer



                share|improve this answer










                answered Jan 3 at 9:00









                Miyuki OukaMiyuki Ouka

                14




                14























                    0














                    Run Following command:



                    composer require doctrine/dbal
                    composer update


                    It looks like you have a missing dependency it showing error on your image.



                    Also Windows users, PDO and all the major drivers ship with PHP as shared extensions, and simply need to be activated by editing the php.ini file:



                    extension=php_pdo.dll


                    Note: This step is not necessary for PHP 5.3 and above, as a DLL is no longer required for PDO.






                    share|improve this answer


























                    • @MiyukiOuka What happened after trying?

                      – Udhav Sarvaiya
                      Jan 3 at 8:05











                    • it still the same

                      – Miyuki Ouka
                      Jan 3 at 8:30











                    • @MiyukiOuka for testing purpose: create a new database and set in .env file after run php artisan migrate command execute, try it maybe it helps you

                      – Udhav Sarvaiya
                      Jan 3 at 8:35













                    • done and still the same :'(

                      – Miyuki Ouka
                      Jan 3 at 8:45











                    • Okay, when you get a solution, please post as an answer :)

                      – Udhav Sarvaiya
                      Jan 3 at 8:55
















                    0














                    Run Following command:



                    composer require doctrine/dbal
                    composer update


                    It looks like you have a missing dependency it showing error on your image.



                    Also Windows users, PDO and all the major drivers ship with PHP as shared extensions, and simply need to be activated by editing the php.ini file:



                    extension=php_pdo.dll


                    Note: This step is not necessary for PHP 5.3 and above, as a DLL is no longer required for PDO.






                    share|improve this answer


























                    • @MiyukiOuka What happened after trying?

                      – Udhav Sarvaiya
                      Jan 3 at 8:05











                    • it still the same

                      – Miyuki Ouka
                      Jan 3 at 8:30











                    • @MiyukiOuka for testing purpose: create a new database and set in .env file after run php artisan migrate command execute, try it maybe it helps you

                      – Udhav Sarvaiya
                      Jan 3 at 8:35













                    • done and still the same :'(

                      – Miyuki Ouka
                      Jan 3 at 8:45











                    • Okay, when you get a solution, please post as an answer :)

                      – Udhav Sarvaiya
                      Jan 3 at 8:55














                    0












                    0








                    0







                    Run Following command:



                    composer require doctrine/dbal
                    composer update


                    It looks like you have a missing dependency it showing error on your image.



                    Also Windows users, PDO and all the major drivers ship with PHP as shared extensions, and simply need to be activated by editing the php.ini file:



                    extension=php_pdo.dll


                    Note: This step is not necessary for PHP 5.3 and above, as a DLL is no longer required for PDO.






                    share|improve this answer















                    Run Following command:



                    composer require doctrine/dbal
                    composer update


                    It looks like you have a missing dependency it showing error on your image.



                    Also Windows users, PDO and all the major drivers ship with PHP as shared extensions, and simply need to be activated by editing the php.ini file:



                    extension=php_pdo.dll


                    Note: This step is not necessary for PHP 5.3 and above, as a DLL is no longer required for PDO.







                    share|improve this answer














                    share|improve this answer



                    share|improve this answer








                    edited Jan 3 at 9:21

























                    answered Jan 3 at 7:04









                    Udhav SarvaiyaUdhav Sarvaiya

                    2,52392131




                    2,52392131













                    • @MiyukiOuka What happened after trying?

                      – Udhav Sarvaiya
                      Jan 3 at 8:05











                    • it still the same

                      – Miyuki Ouka
                      Jan 3 at 8:30











                    • @MiyukiOuka for testing purpose: create a new database and set in .env file after run php artisan migrate command execute, try it maybe it helps you

                      – Udhav Sarvaiya
                      Jan 3 at 8:35













                    • done and still the same :'(

                      – Miyuki Ouka
                      Jan 3 at 8:45











                    • Okay, when you get a solution, please post as an answer :)

                      – Udhav Sarvaiya
                      Jan 3 at 8:55



















                    • @MiyukiOuka What happened after trying?

                      – Udhav Sarvaiya
                      Jan 3 at 8:05











                    • it still the same

                      – Miyuki Ouka
                      Jan 3 at 8:30











                    • @MiyukiOuka for testing purpose: create a new database and set in .env file after run php artisan migrate command execute, try it maybe it helps you

                      – Udhav Sarvaiya
                      Jan 3 at 8:35













                    • done and still the same :'(

                      – Miyuki Ouka
                      Jan 3 at 8:45











                    • Okay, when you get a solution, please post as an answer :)

                      – Udhav Sarvaiya
                      Jan 3 at 8:55

















                    @MiyukiOuka What happened after trying?

                    – Udhav Sarvaiya
                    Jan 3 at 8:05





                    @MiyukiOuka What happened after trying?

                    – Udhav Sarvaiya
                    Jan 3 at 8:05













                    it still the same

                    – Miyuki Ouka
                    Jan 3 at 8:30





                    it still the same

                    – Miyuki Ouka
                    Jan 3 at 8:30













                    @MiyukiOuka for testing purpose: create a new database and set in .env file after run php artisan migrate command execute, try it maybe it helps you

                    – Udhav Sarvaiya
                    Jan 3 at 8:35







                    @MiyukiOuka for testing purpose: create a new database and set in .env file after run php artisan migrate command execute, try it maybe it helps you

                    – Udhav Sarvaiya
                    Jan 3 at 8:35















                    done and still the same :'(

                    – Miyuki Ouka
                    Jan 3 at 8:45





                    done and still the same :'(

                    – Miyuki Ouka
                    Jan 3 at 8:45













                    Okay, when you get a solution, please post as an answer :)

                    – Udhav Sarvaiya
                    Jan 3 at 8:55





                    Okay, when you get a solution, please post as an answer :)

                    – Udhav Sarvaiya
                    Jan 3 at 8:55


















                    draft saved

                    draft discarded




















































                    Thanks for contributing an answer to Stack Overflow!


                    • Please be sure to answer the question. Provide details and share your research!

                    But avoid



                    • Asking for help, clarification, or responding to other answers.

                    • Making statements based on opinion; back them up with references or personal experience.


                    To learn more, see our tips on writing great answers.




                    draft saved


                    draft discarded














                    StackExchange.ready(
                    function () {
                    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f54017199%2filluminate-database-querryexception-could-not-find-driver-error%23new-answer', 'question_page');
                    }
                    );

                    Post as a guest















                    Required, but never shown





















































                    Required, but never shown














                    Required, but never shown












                    Required, but never shown







                    Required, but never shown

































                    Required, but never shown














                    Required, but never shown












                    Required, but never shown







                    Required, but never shown







                    Popular posts from this blog

                    MongoDB - Not Authorized To Execute Command

                    in spring boot 2.1 many test slices are not allowed anymore due to multiple @BootstrapWith

                    How to fix TextFormField cause rebuild widget in Flutter