Akskater1000 Posted January 8, 2009 Share Posted January 8, 2009 I have recently made a website for something in my school, and I need help with making a MySQL database. Is it possible to connect to a database located on my computer, or do I have to use the one that is supplied with the web host. I am using 000webhost and it comes with a MySQL thingy, but when I try to connect to mysql5.000webhost.com as the server, it doesn't work... Quote Link to comment https://forums.phpfreaks.com/topic/140084-a-quick-question/ Share on other sites More sharing options...
corbin Posted January 8, 2009 Share Posted January 8, 2009 You will have to open your firewall and setup up a user with a host setting allowing connections from a remote computer. Quote Link to comment https://forums.phpfreaks.com/topic/140084-a-quick-question/#findComment-732928 Share on other sites More sharing options...
Akskater1000 Posted January 8, 2009 Author Share Posted January 8, 2009 You will have to open your firewall and setup up a user with a host setting allowing connections from a remote computer. Um... How would I go about doing this? If you do not feel like explaining it, would you tell me what to search? -Thankyou Quote Link to comment https://forums.phpfreaks.com/topic/140084-a-quick-question/#findComment-732935 Share on other sites More sharing options...
Akskater1000 Posted January 8, 2009 Author Share Posted January 8, 2009 Wait a second. Would this be to connect to the database on my computer, or on the website? Quote Link to comment https://forums.phpfreaks.com/topic/140084-a-quick-question/#findComment-732939 Share on other sites More sharing options...
corbin Posted January 9, 2009 Share Posted January 9, 2009 To your computer. http://dev.mysql.com/doc/refman/5.1/en/adding-users.html And the firewall stuff would depend on your router. Quote Link to comment https://forums.phpfreaks.com/topic/140084-a-quick-question/#findComment-732975 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.