Jump to content

Archived

This topic is now archived and is closed to further replies.

speedy33417

accessing database from different hosting

Recommended Posts

I will be transfering my hosting to godaddy. They have multiple domain hosting now and it seems like a good move for me. I already purchased the hosting and it's active. But I'm still hosted with the old company as well.
My godaddy account comes with 25 mysql databases. I'd like to set up a database there and repopulate while still hosted at the old place.

My question might seem silly, but I just want to make sure. Can I log into my database at godaddy from a site hosted with a different company, so I can start working on it and potentially not lose any data?

Thanks.

Share this post


Link to post
Share on other sites
Yes, instead of using 'localhost' for the host, you just use the host name, eg example.com.

It works fine in my experience.

Share this post


Link to post
Share on other sites
Awesome. I would have hated putting all the effort moving stuff over, just to find out I won't have access to until I'm on localhost again.

Thanks a lot.

Share this post


Link to post
Share on other sites
You might have to set up some permissions first to allow access to the database from the remote domain.

Share this post


Link to post
Share on other sites

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.