Forums / Installing on a Windows Server / Fresh Install throwing SQL error

Fresh Install throwing SQL error

Views: 4,768

Results 1 to 2 of 2
31 Jan 2026, 6:06 AM
#1
bustin98 avatar

bustin98

New Zenner

Join Date:
Jul 2019
Location:
Norwalk, Ohio
Posts:
12
Plugin Contributions:
0

Fresh Install throwing SQL error

PHP ver 8.3
MySQL ver 5.7
IIS 8.5
New Install

I went through the installation, database tables were created. When I visit the home page, it gives a 500 error. Going to the logs, the following errors are there:

PHP Fatal error: Uncaught PDOException: SQLSTATE[HY000] [1045] Access denied for user '***'@'localhost' (using password: YES) in yadayada\products\laravel\vendor\illuminate\database\Connectors\Connector.php:70

Next Illuminate\Database\QueryException: SQLSTATE[HY000] [1045] Access denied for user '***'@'localhost' (using password: YES) (SQL: select * from plugin_control where (status = 1) order by name asc, unique_key asc) in yadayada\laravel\vendor\illuminate\database\Connection.php:760

I did attempt to hardcode the username and password into the connector file, but the same error occurred.

31 Jan 2026, 12:35 PM
#2
lat9 avatar

lat9

Administrator

Join Date:
Sep 2009
Location:
Stuart, FL
Posts:
14,119
Plugin Contributions:
56

Re: Fresh Install throwing SQL error

bustin98:

PHP ver 8.3
MySQL ver 5.7
IIS 8.5
New Install

I went through the installation, database tables were created. When I visit the home page, it gives a 500 error. Going to the logs, the following errors are there:

PHP Fatal error: Uncaught PDOException: SQLSTATE[HY000] [1045] Access denied for user '***'@'localhost' (using password: YES) in yadayada\products\laravel\vendor\illuminate\database\Connectors\Connector.php:70

Next Illuminate\Database\QueryException: SQLSTATE[HY000] [1045] Access denied for user '***'@'localhost' (using password: YES) (SQL: select * from plugin_control where (status = 1) order by name asc, unique_key asc) in yadayada\laravel\vendor\illuminate\database\Connection.php:760

I did attempt to hardcode the username and password into the connector file, but the same error occurred.
Zen Cart doesn't support IIS servers: https://docs.zen-cart.com/user/first_steps/server_requirements/#windows-servers--iis-are-not-supported