Hello, I have developed a laravel project first time. It works fine in local.
I have VPS-1000 hosting from inmotion inmotionhosting.com/managed-vps-ho...
Which method i should follow. is it a shared hosting?
So far i tried your mentioned technique
create a folder in root folder laravel and upload all my projects files into it then move public folder to public_html/subdomain folder
change the autoload and bootstrap path in index file (followed this 4. change the following lines (22 and 36))
update my env and config/database file with my database credential
it given an error : SQLSTATE[HY000] [2002] Connection refused (SQL: select * from information_schema.tables where table_schema =
used localhost instead 127.0.0.1 and also tried to change port 3306 to 33060 but failed
also i have tried.. upload full projects into public_html/subdomain folder and use htaccess to locate public index file. But same error.
Can you please tell me how to fix it. thank you.
Some comments have been hidden by the post's author - find out more
Are you sure you want to hide this comment? It will become hidden in your post, but will still be visible via the comment's permalink.
Hide child comments as well
Confirm
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Hello,
I have developed a laravel project first time. It works fine in local.
I have VPS-1000 hosting from inmotion inmotionhosting.com/managed-vps-ho...
Which method i should follow. is it a shared hosting?
So far i tried your mentioned technique
create a folder in root folder laravel and upload all my projects files into it
then move public folder to public_html/subdomain folder
change the autoload and bootstrap path in index file (followed this 4. change the following lines (22 and 36))
update my env and config/database file with my database credential
it given an error : SQLSTATE[HY000] [2002] Connection refused (SQL: select * from information_schema.tables where table_schema =
used localhost instead 127.0.0.1 and also tried to change port 3306 to 33060 but failed
also i have tried.. upload full projects into public_html/subdomain folder and use htaccess to locate public index file. But same error.
Can you please tell me how to fix it. thank you.