dongmu2174
2018-11-22 12:19
浏览 236
已采纳

数据库错误:无法迁移到数据库(Laravel)

I have configured all I need to use the Laravel Framework, and when I was trying to migrate all the scripts to database (migrating), I got myself on trouble. I got this massage :

Exception trace: 1 PDOException::("could not find driver") C:\xampp\htdocs\blog\vendor\laravel\framework\src\Illuminate\Database\Connectors\Connector.php:70

2
PDO::__construct("mysql:host=127.0.0.1;port=3306;dbname=laravel", "root", "", []) C:\xampp\htdocs\blog\vendor\laravel\framework\src\Illuminate\Database\Connectors\Connector.php:70

Please somebody help to get out from this !

图片转代码服务由CSDN问答提供 功能建议

我已经配置了使用Laravel Framework所需的全部内容,当我尝试将所有脚本迁移到数据库时 (迁移),我让自己陷入困境。 我得到了这个按摩:

异常跟踪:1 PDOException ::(“找不到驱动程序”) C:\ xampp \ htdocs \ blog \ vendor \ laravel \ framework \ src \ Illuminate \ Database \ Connectors \ Connector.php:70

2
PDO :: __ construct(“mysql:host = 127.0.0.1; port = 3306 ; dbname = laravel“, ”root“,”“,[]) C:\ xampp \ htdocs \ blog \ vendor \ laravel \ framework \ src \ Illuminate \ Database \ Connectors \ Connector.php:70

请有人帮忙摆脱这个!

  • 写回答
  • 好问题 提建议
  • 追加酬金
  • 关注问题
  • 邀请回答

1条回答 默认 最新

相关推荐 更多相似问题