I have change php version 7 on this server using cPanel. But, in cPanel shows "PHP version: 5.6.23". For laravel project server php version is needed grater then "5.6.4". I think that is my problem to run laravel project on this host.
Database have been created and imported. Application uploaded on this server. But, When run the application showing message "Database connection failed".
I have put user name, db name, db password as well as. But, showing error message. Needed any special change to connect database with the application. I have attach a file. please look at this and please help me.
I think the host name is off. cPanel say "sql211.unaux.com". No database are created for my account.
I would go into phpMyAdmin and see what it said at the top for HOST.
PHP7 is default. Your script may need PHP5. That can be changed in cPanel.
Return to php7 and wait a few minutes, check the host in phpMyAdmin, correct if needed. Try running the script and post back the error message. "Please!"
CPanel say "sql303.unaux.com" for my hosting and there is a database for my application. But, error message shows Connection failed.
I have been change php version 7, few days ago. Then, wait 24 hours for this. But, Still it shows connection failed. Check my cPanel screen short.
There was some changes to MySQL over the last few days. We can no longer create user/passwd for databases. Must use the one provided. Check and see if correct.
It looks like you're new here. If you want to get involved, click one of these buttons!
ProFreeHost is a web hosting service which is aimed at providing free servers and tools to it's members for both personal and commercial use.
© 2019 ProFreeHost. All rights reserved.
Powered by Vanilla Forums