设为首页 加入收藏

TOP

解决laravel Class 'Doctrine\DBAL\Driver\PDOMySql\Driver' not found 错误
2019-09-17 16:18:04 】 浏览:54
Tags:解决 laravel Class ' DoctrineDBALDriverPDOMySqlDriver' not found 错误

这个错误的原因来自于没有安装一个依赖库:

官方文档说明如下:

Modifying Columns

Prerequisites

Before modifying a column, be sure to add the doctrine/dbal dependency to your composer.json file. The Doctrine DBAL library is used to determine the current state of the column and create the SQL queries needed to make the specified adjustments to the column:

composer require doctrine/dbal

使用上面提到的命令安装指定依赖就行了。

 

这个错误是我使用renamecolume修改列的名字的时候发现的。

】【打印繁体】【投稿】【收藏】 【推荐】【举报】【评论】 【关闭】 【返回顶部
上一篇phpstudy 产生You don't have.. 下一篇为什么 echo 3 . print(2) . prin..

最新文章

热门文章

Hot 文章

Python

C 语言

C++基础

大数据基础

linux编程基础

C/C++面试题目