【发布时间】:2020-06-08 13:10:28
【问题描述】:
我的带有 MySQL 的 XAMPP 数据库托管在另一台 Windows PC (192.168.1.201) 的网络上。我可以使用浏览器访问数据库,但无法使用 PhpStorm 将其连接到 Laravel 框架。
【问题讨论】:
-
您是否在屏幕或错误日志中收到任何错误?
-
C:\Users\Christoph\Google Drive\Studium\Semester 4\Web Tech\pc-konfigurator>php artisan migrate Illuminate\Database\QueryException 找不到驱动程序(SQL:从 information_schema 中选择 *。表其中 table_schema = pc_konfigurator 和 table_name = 迁移和 table_type = 'BASE TABLE')
-
您的用户帐户
user是否拥有数据库information_schema的权限? -
是的所有特权
-
DB_USERNAME = user并且密码为DB_PASSWORD = root确定您不是要使用root用户名吗?
标签: php mysql database laravel phpstorm