We're often asked how to create a connection string to a database. In fact a variety of databases and an equal variety of web languages.
Fortunately there's a great resource at http://www.connectionstrings.com/
which contains examples of pretty much any you might like to think of.
Hopefully a visit there will help, but if not please let us know.