We use cookies to improve your experience. No personal information is gathered and we don't serve ads. Cookies Policy.

ExpressionEngine Logo ExpressionEngine
Features Pricing Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University
Log In or Sign Up
Log In Sign Up
ExpressionEngine Logo
Features Pro new Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University Blog
  • Home
  • Forums

Fresh install of EE v5.2.1 with MySQL 8.0.15 fails

News and General

Alexander Bisset's avatar
Alexander Bisset
3 posts
6 years ago
Alexander Bisset's avatar Alexander Bisset

On running admin.php for the first time. It presents the form then produces the following exception.

Exception Caught No such property: ‘db’ on EllisLab/ExpressionEngine/Legacy/Facade ee/EllisLab/ExpressionEngine/Legacy/Facade.php:120

Stack Trace: Please include when reporting this error

0 system\ee\EllisLab\ExpressionEngine\Legacy\Facade.php(30): EllisLab\ExpressionEngine\Legacy\Facade->get(‘db’)

1 system\ee\installer\controllers\wizard.php(853): EllisLab\ExpressionEngine\Legacy\Facade->__get(‘db’)

2 system\ee\installer\controllers\wizard.php(272): Wizard->do_install()

3 [internal function]: Wizard->_remap(‘do_install’, Array)

4 system\ee\EllisLab\ExpressionEngine\Core\Core.php(241): call_user_func_array(Array, Array)

5 system\ee\EllisLab\ExpressionEngine\Core\Core.php(110): EllisLab\ExpressionEngine\Core\Core->runController(Array)

6 system\ee\EllisLab\ExpressionEngine\Boot\boot.php(151): EllisLab\ExpressionEngine\Core\Core->run(Object(EllisLab\ExpressionEngine\Core\Request))

7 admin.php(153): require_once(‘C:\inetpub\empl…’)

7 admin.php(153): require_once(‘C:\inetpub\empl…’)

So I’m at a loss to know how to proceed.

       
Derek Jones's avatar
Derek Jones
7,561 posts
6 years ago
Derek Jones's avatar Derek Jones

Did you run the server wizard to ensure your environment meets ExpressionEngine’s requirements? You might also look at this guide at using MySQL 8 which does have some backwards incompatibilities with previously versions of MySQL and additional PHP requirements.

       
Alexander Bisset's avatar
Alexander Bisset
3 posts
6 years ago
Alexander Bisset's avatar Alexander Bisset

Yes this is a fresh install on a windows server 2016 machine.

The website gives a download link and on copying files to server and running admin.php I get a link to the docs.

The ee_wizard step gives the following…

Fatal error: Uncaught PDOException: PDO::__construct(): The server requested authentication method unknown to the client [caching_sha2_password] in C:\inetpub\employees\ee_wizard\index.php:253 Stack trace: #0 C:\inetpub\employees\ee_wizard\index.php(253): PDO->__construct(‘mysql:host=empl…’, ‘employeesweb’, ‘passwordwenthere’, Array) #1 C:\inetpub\employees\ee_wizard\index.php(131): check_db(Array) #2 {main} Next PDOException: SQLSTATE[HY000] [2054] The server requested authentication method unknown to the client in C:\inetpub\employees\ee_wizard\index.php:253 Stack trace: #0 C:\inetpub\employees\ee_wizard\index.php(253): PDO->__construct(‘mysql:host=empl…’, ‘employeesweb’, ‘passwordgoeshere’, Array) #1 C:\inetpub\employees\ee_wizard\index.php(131): check_db(Array) #2 {main} thrown in C:\inetpub\employees\ee_wizard\index.php on line 253

So no further forward.

       
Alexander Bisset's avatar
Alexander Bisset
3 posts
6 years ago
Alexander Bisset's avatar Alexander Bisset

Right getting somewhere - turning off the newer authentication in MySQL has at least got the wizard running. Thanks.

       

Reply

Sign In To Reply

ExpressionEngine Home Features Pro Contact Version Support
Learn Docs University Forums
Resources Support Add-Ons Partners Blog
Privacy Terms Trademark Use License

Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.