My XAMPP database with MySQL is hosted on the network on a other Windows PC (192.168.1.201). I have access to the database using the browser but cant connect it to the Laravel Framework using PhpStorm.
Asked
Active
Viewed 455 times
1
-
1Do you get any errors, on the screen OR in the error logs? – RiggsFolly Jun 08 '20 at 13:14
-
C:\Users\Christoph\Google Drive\Studium\Semester 4\Web Tech\pc-konfigurator>php artisan migrate Illuminate\Database\QueryException could not find driver (SQL: select * from information_schema.tables where table_schema = pc_konfigurator and table_name = migrations and table_type = 'BASE TABLE') – ChrisMythos Jun 08 '20 at 13:16
-
Does your user account `user` have privilages on database `information_schema`? – RiggsFolly Jun 08 '20 at 13:18
-
Yes all privilages – ChrisMythos Jun 08 '20 at 13:19
-
`DB_USERNAME = user` and that has a password of `DB_PASSWORD = root` sure you didnt mean to use the `root` username? – RiggsFolly Jun 08 '20 at 13:21
-
i tryed to migrate the project i'm working on to the database. – ChrisMythos Jun 08 '20 at 13:21
-
i'm very sure my friend uses the same database for our git sycronised project :) – ChrisMythos Jun 08 '20 at 13:22
-
Does this answer your question? [Laravel 5 PDOException Could Not Find Driver](https://stackoverflow.com/questions/35240414/laravel-5-pdoexception-could-not-find-driver) – Dan Jun 08 '20 at 14:01
-
yea mostly thx for the help :D – ChrisMythos Jun 08 '20 at 16:53
1 Answers
0
I had the same issue on my mac. Try creating a database-user that accepted all hostnames ("%").

LudvigL
- 31
- 2