Based on the given information I assume you are running DreamFactory version 2.12 and with the release of MySQL 8 it introduced some new security protocols that created compatibility issues with PHP 5.6. This has all been sorted in new releases of DreamFactory as we now require PHP 7 to run the application.
Alternatively, since MySQL 8 default authentication plugin is auth_socket you can change it to the original native password authentication. The command below will change the user you are connecting to DreamFactory with to utilize standard authentication.
ALTER USER 'root'@'localhost' IDENTIFIED WITH mysql_native_password
BY 'password';
As a side note, if you would like this change to be made global for all your MySQL users you can edit the MySQL my.cnf file and under the mysqld section add the following:
[mysqld]
default_authentication_plugin= mysql_native_password
and be sure to flush the privileges:
FLUSH PRIVILEGES;