database options *help*

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • mach
    Confirmed User
    • May 2003
    • 281

    #1

    database options *help*

    for a script i have to enter in host name

    $host_name="localhost";

    i have no clue what to put in should i just leave it as is?
  • mach
    Confirmed User
    • May 2003
    • 281

    #2

    Comment

    • SpaceAce
      Confirmed User
      • Jul 2002
      • 6493

      #3
      This would usually be "yourdomain.com" or "subdomain.yourdomain.com"

      SpaceAce

      Comment

      • mach
        Confirmed User
        • May 2003
        • 281

        #4
        Originally posted by SpaceAce
        This would usually be "yourdomain.com" or "subdomain.yourdomain.com"

        SpaceAce
        thanks for that

        Comment

        • mach
          Confirmed User
          • May 2003
          • 281

          #5
          what happens if your on a vhost would the local host be differnent?

          Comment

          • mach
            Confirmed User
            • May 2003
            • 281

            #6
            anyone know what might be wrong im getting a cannot connect ot database error

            Comment

            • echo465
              Confirmed User
              • Mar 2001
              • 265

              #7
              Originally posted by mach
              anyone know what might be wrong im getting a cannot connect ot database error
              Is the database running? Can you connect to it manually?

              Is the database server the same box as the web server? If it is, what happens if you leave it as 'localhost'?
              Currently Promoting: Adult Movie Club

              Comment

              • mach
                Confirmed User
                • May 2003
                • 281

                #8
                Originally posted by echo465


                Is the database running? Can you connect to it manually?

                Is the database server the same box as the web server? If it is, what happens if you leave it as 'localhost'?
                can you please icq me on 122295837

                thanks

                Comment

                • mach
                  Confirmed User
                  • May 2003
                  • 281

                  #9
                  Is the database running? Can you connect to it manually?

                  how do i connect to it manually?

                  Comment

                  • d0se
                    Confirmed User
                    • Jul 2002
                    • 1225

                    #10
                    Originally posted by mach



                    how do i connect to it manually?

                    You need to hire someone with a clue.. seriously.. you are wasting your time....
                    <a href="http://www.swoit.com/_7075fcffae0c1be1a35492ee5bbfaae3/1"><img src="http://www.swoit.com/_7075fcffae0c1be1aab68e286ae87b30/1" border="0" width="120" height="60"></img></a>

                    Comment

                    • modF
                      Confirmed User
                      • Aug 2002
                      • 1888

                      #11
                      I will assume that you are trying to use mysql. If you have phpmyadmin it might be easier for you to set things up and become familiar with things.

                      I do things
                      skype:themodF

                      Comment

                      • d0se
                        Confirmed User
                        • Jul 2002
                        • 1225

                        #12
                        Originally posted by modF
                        I will assume that you are trying to use mysql. If you have phpmyadmin it might be easier for you to set things up and become familiar with things.
                        That will confuse him even more.. I say he needs hired help.
                        <a href="http://www.swoit.com/_7075fcffae0c1be1a35492ee5bbfaae3/1"><img src="http://www.swoit.com/_7075fcffae0c1be1aab68e286ae87b30/1" border="0" width="120" height="60"></img></a>

                        Comment

                        Working...