speedy33417 Posted September 28, 2006 Share Posted September 28, 2006 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. Link to comment https://forums.phpfreaks.com/topic/22407-accessing-database-from-different-hosting/ Share on other sites More sharing options...
yonta Posted September 28, 2006 Share Posted September 28, 2006 Yes, instead of using 'localhost' for the host, you just use the host name, eg example.com.It works fine in my experience. Link to comment https://forums.phpfreaks.com/topic/22407-accessing-database-from-different-hosting/#findComment-100425 Share on other sites More sharing options...
speedy33417 Posted September 28, 2006 Author Share Posted September 28, 2006 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. Link to comment https://forums.phpfreaks.com/topic/22407-accessing-database-from-different-hosting/#findComment-100427 Share on other sites More sharing options...
acdx Posted September 28, 2006 Share Posted September 28, 2006 You might have to set up some permissions first to allow access to the database from the remote domain. Link to comment https://forums.phpfreaks.com/topic/22407-accessing-database-from-different-hosting/#findComment-100468 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.