on local environment with GIT Repository, and you want collaborate with your team
The method that I use fornow is make a single database on the server, then all developers should connect it remotely by using IP and Port 3306 (MYSQL Database)
But the issue is connecting to the database remote server is slowly. Oh yeah, programming language that I used is PHP (Laravel).
Can we connect to the remote database server with socket (Mysql) ? so i assume the connection will always be open?
On the other side, I have develop with JAVA, and then I run it on the local PC, the tomcat server open the socket connection to database (PS : in this java, I used Postgre database) this what i want it in PHP.
Correct me if I'm wrong the concept
Please your answer guys thank you 🙏🏻
Why not use local database and use Laravel migration feature to make sure local database of each team members in sync?
Обсуждают сегодня