ball420 Posted June 6, 2007 Share Posted June 6, 2007 what is the best way to connect to a database remotly so that i can create tables and what not. on my local machine i use wamp5, somthing with a gui would be nice. help!!!! Quote Link to comment https://forums.phpfreaks.com/topic/54464-connecting-to-database/ Share on other sites More sharing options...
bubblegum.anarchy Posted June 7, 2007 Share Posted June 7, 2007 SQLyog: http://www.webyog.com/en/ Quote Link to comment https://forums.phpfreaks.com/topic/54464-connecting-to-database/#findComment-269652 Share on other sites More sharing options...
doogles Posted June 7, 2007 Share Posted June 7, 2007 you could go into your MySQL DOS box and simply type in your password then enter the following: use [database name]; then do what you wish. Or if you working with PHP, do something like: $conn=mysql_connect("localhost", "[username]", "[password]"); mysql_select_db("[database name]", $conn); Quote Link to comment https://forums.phpfreaks.com/topic/54464-connecting-to-database/#findComment-269704 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.