Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

External Database, two servers. #257

Open
laerciocrestani opened this issue Apr 15, 2017 · 1 comment
Open

External Database, two servers. #257

laerciocrestani opened this issue Apr 15, 2017 · 1 comment

Comments

@laerciocrestani
Copy link

Hello guys.

I have two servers, running on the same private network, but there are two machines, one with Ajenti for (www) and on the other machine only the database (mysql and postgres). When I create a new website I have how to point the database to the other local IP? it's possible? Or do I have to have everything on the same machine?

@Sithira
Copy link

Sithira commented Sep 26, 2017

This is something you can do with MySQL itself.
To guide you through the process, if I brief about it, put your server 1 (www) address to the server 2 (MySQL) as a new user. Then you can access the server 2 using server 1 using the new user you created for MySQL

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants