Unable to Connect to Database on New Install
I have installed a "boatload" (a technical term) of Zencarts over the years.
When I tried to install a new copy of 1.5.4 I kept getting "Unable to connect to the database" error. I triple checked the database names and password and "localhost" but it would not connect.
I logged in to phpmyadmin and was able to create an drop a table.
Then I remembered an issue I had on another site a while back with upgrading.
My PHP level was set to 5.5 which is an acceptable level for Zen-Cart 1.5.4. As soon as I dropped it to PHP 5.4 the install went through.
I seem to remember some issues with PHP versions and password encryption, etc.
Anyway, just a post to show how I got past the error.
Current version that allowed install: 5.4.39 (Zend: 2.4.0)
Version that did not: some version of 5.5. Unable to get into Zencart with whatever version of 5.5 they have.
Aloha from Hawaii! (its a dirty job, but SOMEBODY has to live here...)
Bookmarks