Connect app to remote MySQL DB
Posted: 2018-05-29 19:03
Hi All,
I have question. Need connect app located on first web server, to MySQL DB on second.
What I need to use at config.php $dbServer = 'localhost' instead localhost?
I add second server IP Address to Remote MySQL. But if I replace 'localhost' with 'Second server IP', no connection.
In addition, checked 'Second server IP:3306' same, no connection.
Any tips for my problem?
Thanks
I have question. Need connect app located on first web server, to MySQL DB on second.
What I need to use at config.php $dbServer = 'localhost' instead localhost?
I add second server IP Address to Remote MySQL. But if I replace 'localhost' with 'Second server IP', no connection.
In addition, checked 'Second server IP:3306' same, no connection.
Any tips for my problem?
Thanks