Database connection failed

Dear Concern,

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.

58bd31b104d6e.png

Thanks.

Comments

  • Dear Concern,

    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.

    58bd49eac0582.png

    Thanks.

  • Hello,

    CPanel say "sql303.unaux.com" for my hosting and there is a database for my application. But, error message shows Connection failed.

  • Hello,

    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.