I am using a Ubuntu 20.04.1 LTS
VPS with a deployed Laravel Framework 6.20.16
application.
I am currently connecting to my mysql database via ssh using dbeaver, using simply root@IP_Address
and my password
to connect.
However, I would also like to connect via laravel to my staging/production database as it is not an option to mirror the production database locally.
I am aware that if implemented wrongly it could cause serious vulnerabilities to my application.
Any suggestions how to do this?
I would really appreciate your help!