Connecting to a DB on another server

+1 vote

I have scripts on my first server and I wish to connect to DB on some other server. Is that possible?

Apr 11, 2018 in Cloud Computing by hemant
• 5,790 points

recategorized Apr 11, 2018 by hemant 423 views

1 answer to this question.

0 votes
It should’nt be a problem. The server that has Database whitelist its IP through Cpanel.

Now create a new user that has sufficient privileges and use it as a test user.

 you change the database host to the external one and you are good to go
answered Apr 11, 2018 by brat_1
• 7,200 points

Related Questions In Cloud Computing

0 votes
2 answers

Is there a way to copy AMI from one AWS account to another AWS account using boto?

You could share the AMI from one ...READ MORE

answered Aug 21, 2018 in Cloud Computing by Priyaj
• 58,090 points
1,893 views
+4 votes
4 answers

AWS S3 cli isn’t working on Windows server

The error message has nothing to do ...READ MORE

answered Aug 20, 2018 in Cloud Computing by Priyaj
• 58,090 points
1,253 views
+2 votes
2 answers

Is there a way to get IAM Credentials from Cognito Username/Password from CLI?

Try doing it the other way round. ...READ MORE

answered Mar 27, 2018 in Cloud Computing by brat_1
• 7,200 points
980 views
+3 votes
3 answers

Is it possible to delete a API in AWS API Gateway?

Yes, it is possible to delete an ...READ MORE

answered Mar 27, 2018 in Cloud Computing by brat_1
• 7,200 points
4,227 views
+2 votes
2 answers

Is there a way to add cache control in AWS S3?

use of  current upstream master branch will ...READ MORE

answered Apr 10, 2018 in Cloud Computing by hemant
• 5,790 points
8,330 views
+1 vote
1 answer

Having Trouble connecting to Amazon Elasticache Redis outside of Amazon

Well, bluntly speaking the answer is No. ...READ MORE

answered Apr 10, 2018 in Cloud Computing by code_ninja
• 6,290 points
2,067 views
0 votes
3 answers

Is it possible to redirect a domain to Amazon EC2?

Create an Elastic IP on the AWS ...READ MORE

answered Nov 30, 2018 in Cloud Computing by Abhinav
2,173 views
0 votes
1 answer

Is there a way to find out the number of objects stored in an S3 bucket?

Frankly, that is not possible. This is ...READ MORE

answered Apr 17, 2018 in Cloud Computing by code_ninja
• 6,290 points
634 views
+3 votes
3 answers

Is there a way to install apache drill on an EMR cluster on AWS that is already Running?

It looks to be trying to get ...READ MORE

answered Oct 11, 2018 in Cloud Computing by findingbugs
• 4,780 points
2,038 views
0 votes
1 answer

Is there a way to use amazon ECR image from one account in the code build of another account?

These forums might just about help https://forums.aws.amazon.com/ ...READ MORE

answered May 7, 2018 in Cloud Computing by brat_1
• 7,200 points
1,482 views
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP