[英]Exception on php artisan migrate Illuminate\Database\QueryException SQLSTATE[HY000] [2054]
I created a database on the terminal and mysql version is 8.0.21 Homebrew.我在终端上创建了一个数据库,mysql 版本是 8.0.21 Homebrew。 I access the database using TablePlus.
我使用 TablePlus 访问数据库。 However when I tried to migrate the database after creating the database it gave me the following error.
但是,当我在创建数据库后尝试迁移数据库时,它给了我以下错误。
My php version is 7.3.11.我的 php 版本是 7.3.11。 Any guidance towards using the right resources to be able to migrate successfully are appreciated.
感谢任何有关使用正确资源以成功迁移的指导。
I ran the following commands,我运行了以下命令,
brew update
brew upgrade
and it downloaded and updated the php and mysql version.它下载并更新了 php 和 mysql 版本。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.