Database For Addon Domain. Please Help

Discussion in 'MySQL' started by mrcountry, Jan 20, 2008.

  1. #1
    I don't know if i'm just missing what I am looking for or what. I really need to know how to set up a database for an addon domain. My hosting company will let me set up 300 MySQL Databases and they told me that I can set them up for the addon domains, but they cant seem to tell me how to do it. Can someone please point me in the right direction. I would very much appreciate any help I can get. Thanks so much in advance.
     
    mrcountry, Jan 20, 2008 IP
  2. oc-scott

    oc-scott Active Member

    Messages:
    420
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    68
    #2
    What control panel you are using? If you have Cpanel, just login there and use Cpanel >> Mysql Databases option to create database for your addon domain.
     
    oc-scott, Jan 20, 2008 IP
  3. mrcountry

    mrcountry Active Member

    Messages:
    45
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    71
    #3
    Yes i'm using Cpanel. I have the database set up. Where i'm having the problem is getting the guestbook on the addon domain to access it. Please tell me how to get the guestbook to access it. How to find it? I really appreciate you trying to help. I'm new to this and I just cant figure it out. I have tried to get my hosting company to help and all they do is tell me that it can be done, but they cant actually tell me how to set it up.
     
    mrcountry, Jan 21, 2008 IP
  4. AstarothSolutions

    AstarothSolutions Peon

    Messages:
    2,680
    Likes Received:
    77
    Best Answers:
    0
    Trophy Points:
    0
    #4
    You would access it in the same way (or at least with .net you would) as the fact it is a sub domain has no influence on the matter
     
    AstarothSolutions, Jan 21, 2008 IP
  5. mrcountry

    mrcountry Active Member

    Messages:
    45
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    71
    #5
    I appreciate the help, but I need to know how to direct the guestbook to the database. Telling me that it works the same way, just really doen't do it for me as i'm new to this. Please explain a little more in detail. Thanks again.
     
    mrcountry, Jan 21, 2008 IP
  6. Colbyt

    Colbyt Notable Member

    Messages:
    3,224
    Likes Received:
    185
    Best Answers:
    0
    Trophy Points:
    210
    #6
    Surely there is a conn, config or dbconnect file in the folder with whatever script you are using.

    Generally you enter 3 pieces of info. database name, username and password. For some hosts the "localhost" needs to be changed. The fact the script is in sub domain or directory should make no differece.
     
    Colbyt, Jan 21, 2008 IP
  7. AstarothSolutions

    AstarothSolutions Peon

    Messages:
    2,680
    Likes Received:
    77
    Best Answers:
    0
    Trophy Points:
    0
    #7
    Ok, you dont direct the person to the db but the script (php/ ASP etc) pulls the data from the db and displays it to them
     
    AstarothSolutions, Jan 21, 2008 IP