Jump to content
  • 0
mrlongshen

How to link webhosting database to vps database?

Question

Based on the title above ? 

how ?

for example my site is hosting at HOSTING A.

Then I install the control panel at HOSTING A.

But my vps are at other hosting, which is HOSTING B.

How to connect it ? Because usually I install my control panel same on the VPS...

Share this post


Link to post
Share on other sites

5 answers to this question

Recommended Posts

  • 0

@@Winterfox

 

That means, 
For example I'm using cora CMS, so my config, I need to put the VPS ip ?

For the cora CMS file, I put on the webhosting. Right?

So basically I need the the remote mysql or what ????

I dont understand.. The file will connect to my vps database ? right? 

Share this post


Link to post
Share on other sites
  • 0

@@Winterfox

 

That means, 

For example I'm using cora CMS, so my config, I need to put the VPS ip ?

For the cora CMS file, I put on the webhosting. Right?

So basically I need the the remote mysql or what ????

I dont understand.. The file will connect to my vps database ? right? 

If you put your remote mysql address and the correct port in your cora config, it should be able to use the remote mysql database of your vps.

Share this post


Link to post
Share on other sites
  • 0

BTW remember that MySQL doesn't allow remote connections by default. So, in case you get connection refused errors, remember that you should enable them on the my.cnf file, somewhere under the [mysqld] tag.

Share this post


Link to post
Share on other sites
  • 0

BTW remember that MySQL doesn't allow remote connections by default. So, in case you get connection refused errors, remember that you should enable them on the my.cnf file, somewhere under the [mysqld] tag.

Grant PRIVILEGES using MySQL....

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.