How Do I Link My Site to a Database???

Discussion in 'Databases' started by Bizza, Nov 19, 2009.

  1. #1
    This may sound silly to some, but I'm really confused as to how I can upload my link directory site to a database (after creating a database for it on my hosting acct)?

    Could someone please help me on this one with a step-by-step instruction?
     
    Bizza, Nov 19, 2009 IP
  2. nyxano

    nyxano Peon

    Messages:
    417
    Likes Received:
    15
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Not sure I understand. You created the database through your hosting control panel and now you need to install a link directory script and connect it to that database? The link directory you are using should have provided you with step by step instructions on how to do that. Does it create all the tables and data itself via an install script? Or did it just provide you with an SQL file you had to import/upload yourself.
     
    nyxano, Nov 19, 2009 IP
  3. bluebenz

    bluebenz Well-Known Member

    Messages:
    876
    Likes Received:
    9
    Best Answers:
    2
    Trophy Points:
    138
    #3
    maybe you download a script ?
    usually, an installable script will include an install guide, where you can easily find the tutorial to install the software and database.

    example, installing a worpress in your webhost..
     
    bluebenz, Nov 20, 2009 IP
  4. Toopac

    Toopac Peon

    Messages:
    4,451
    Likes Received:
    166
    Best Answers:
    0
    Trophy Points:
    0
    #4
    You use FTP to upload your sire (link directory script).

    You install the database.

    You edit the config.php, conn.php file with your database username, password and other details.

    It should then connect:)
     
    Toopac, Nov 23, 2009 IP