Dreamfactory 2.1.1-2 post installation error running /opt/dreamfactory-2.1.1-2/php/bin/php -q


#1

i am trying to install dreamfactory 2.1.1-2 in centos 7 core but i am getting Error as below…

Warning: Problem running post-install step. Installation may not complete
correctly
Error running /opt/dreamfactory-2.1.1-2/php/bin/php -q
"/opt/dreamfactory-2.1.1-2/apps/dreamfactory/htdocs/artisan" migrate: child
process exited abnormally…

i tried to start the dreamfactory setup by
php artisan cache:clear php artisan dreamfactory:setup

but getting a mysql error…

SQLSTATE[HY000] [2002] Can’t connect to local MySQL server through socket ‘/var/lib/mysql/mysql.sock’ (2)

i started mysql and apache by using ./ctlscript.sh start apache and ./ctlscript.sh start mysql
but when i run the setup command am getting the above error…

please help to solve this issue…