SQLSTATE[hy000][2054] The server requested authentication method unknown to the client

Using MySQL version 8.0.11, latest version of Dreamfactory.
Got the above error with root and an admin account I created.

More info: Windows 7.DreamFactory installed from the download installer.

Hi @Gunnar_Swan

Can you check your php.ini file to see if the file “extension=mysqli” is commented?

Also, is this a remote database (not the DF system database)?


Thank you for your time on this. Trying to do as much as I can without interfering.

To answer your questions …

  • mysqli is not commented. mysql is commented.
  • This MySQL is not the DF system database. It is located on my development machine.
  • but maybe this is a good question.

Steps To Replicate Issue

  • Open browser to
  • Login
  • Click ‘Schema’ button
  • Select a Service I previously created … ‘test3’, a MySQL Service.
  • I then get the error. (you should see a screenshot of the error)

Evidence about PHP version on box …

From the php.ini in the folder shown below.



To assure I got the right INI from the right PHP version …

From phpinfo()

Loaded Configuration File

Path From Environment:


PHP Version From Command Line

C:>php --version
PHP 5.6.10 (cli) (built: Jun 10 2015 15:59:37)
Copyright © 1997-2015 The PHP Group
Zend Engine v2.6.0, Copyright © 1998-2015 Zend Technologies


Thanks for the additional details. Will update ASAP.

HI Gunnar,

I believe I see the problem. As of 2.11.1 you need to be on PHP 7.x or 7.1.x. Can you install PHP 7 and then unlink the 5.6? That should solve your issues. Here are some helpful links:




Hope this is helpful.

I’ll get on it and will advise. Thx.

1 Like

For some reason it still will not authenticate even with PHP 7.x.
Since ultimately I am using SQL Server (and using the community version is just a proof of concept), I switched to PostgreSQL and it worked. PostgreSQL is ANSI complian, so the DDF statements are nearly identical to SQL Server.

Moving to PostgreSQL, all tests are passing, so MySQL is no longer an issue. Thanks!