ERROR: Could not find driver (SQL: select * from information_schema.tables)

Video Statistics and Information

Video
Captions Word Cloud
Reddit Comments
Captions
[Music] hey guys so now we will see how to solve this problem starting with starting the xampp server start start so now we will open google chrome to see phpmyadmin here localhost phpmyadmin okay fine now we can see here i have already created a database called test so it is empty right now as we can see it we will add some data and sometime so let's run the migration command so i have used a name my table you can use any name and now it is the name of table my table okay fine so as we can see my migration has been created so we will move to visual studio code and see where is the migration file fine so we can see that migration table is clear this is our file it is already pre-programmed and now we will try to migrate it to the database okay fine good okay now we will go to the uh command and type the migrate come on okay fine so now we can see the error so how we have to deal with this error okay so we will go and open the command prompt okay and now we have to see the location of php.ini as you can see php dash i and press enter now we'll scroll to the top now we will find loaded configuration file okay fine here it is so we will see the loaded configuration file it doesn't see php 7.4 windows psp we will select it okay and press ctrl c to copy now we will start the file explorer go to the bar and paste the address okay fine now press enter so we can see that php.ini is opened in notepad we have to find a keyword we will go to edit find okay and we have to find pdo underscore mysql pd underscore m by sql okay find as we can see here extension is equal to pdo and this one is equal we have to remove that same column and then save that file file save fine now we have to close this file and again run that migrate command php rotation migrate as you can see here the migration table created successfully now we'll see either it is created or not we will go and reload the page and as we can see here my table is in this database so this is how we solve the problem guys if you like this video please like it and share it thank you
Info
Channel: Errors & Solution
Views: 39,268
Rating: undefined out of 5
Keywords: laravel, web dev, website, vscode, mysql, error could not find driver, Illuminate\Database\QueryException, $query, $this-prepareBindings($bindings), $e, bootstrap, database, ecommerce, framework, sublime, cmd, command, migration, php artisan migrate, make:migration, sql error, database error, php error
Id: SlcMyHvHno4
Channel Id: undefined
Length: 3min 44sec (224 seconds)
Published: Mon Aug 10 2020
Related Videos
Note
Please note that this website is currently a work in progress! Lots of interesting data and statistics to come.