MySQL Forums
Forum List  »  PHP

Unable to connect remote mysql to php - but works in terminal
Posted by: Mahesh Kumar
Date: October 23, 2017 03:06PM

I am able to connect to remote server with php. But it works when connects with terminal. I dont know how to do that. So a freelancer installed a mariadb 10.2 on separate server.

Now nginx server php is not connecting with mysql. But i can access remote mysql from nginx terminal.

How to troubleshoot this.
It is 3 am. so freelancer went to sleep. I need to fix this.
Help me

Options: ReplyQuote


Subject
Written By
Posted
Unable to connect remote mysql to php - but works in terminal
October 23, 2017 03:06PM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.