Results 1 to 3 of 3

Thread: [2005] connect to a database on a server

  1. #1

    Thread Starter
    Hyperactive Member
    Join Date
    Feb 2007
    Location
    indiana
    Posts
    341

    [2005] connect to a database on a server

    how would i go about connecting to a sql database on a remote (not local) server. i am brand new to database programing. i know how to connect to a local DB and stuff like that but i have know idea how to connect to a database on a server. so any help or tutorials would be great. btw this is for a login form

  2. #2
    Super Moderator jmcilhinney's Avatar
    Join Date
    May 2005
    Location
    Sydney, Australia
    Posts
    110,344

    Re: [2005] connect to a database on a server

    You connect to a remote server exactly the same way. You simply adjust the connection string to refer to the appropriate server. Go to www.connectionstrings.com to get the appropriate format for your database.

    Also, if you mean "SQL Server" then that's what you should say. "sql database" is meaningless because SQL (Structured Query Language) is a language that all databases use. SQL Server is Microsoft's RDBMS, but Oracle, MySQL, Access and many others are all SQL databases because they are databases that understand SQL.

  3. #3

    Thread Starter
    Hyperactive Member
    Join Date
    Feb 2007
    Location
    indiana
    Posts
    341

    Re: [2005] connect to a database on a server

    ok thanks for the clarification and the link.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width