Good evening all,
I am updating a small site from Craft 2 to 3, and after following the instructions in the documents, I loaded up the backend of my site and was greeted with the install screen.
I know that this typically means that the
DB_TABLE_PREFIX is improperly set, but I triple-checked and I'm 99% certain that it's correct. I double-checked with my Craft 2, which looks like
// The prefix to use when naming tables. This can be no more than 5 characters. 'tablePrefix' => 'craft',
And matched it to my
# The prefix that should be added to generated table names (only necessary if multiple things are sharing the same database) DB_TABLE_PREFIX=craft
I also checked for a
craft_info table, and that is present. The version listed in the version column is 2.9.2, if that makes a difference.
I am unable to login to my admin panel, or view my website now. I get the following when viewing my website:
Database Connection Error – craft\errors\DbConnectException Craft CMS can’t connect to the database with the credentials in config/db.php. ↵ Caused by: Database Exception – yii\db\Exception
Any help is greatly appreciated!