mysql question

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Chris
    Too lazy to set a custom title
    • May 2003
    • 27880

    #1

    mysql question

    THis script I am trying to install says this

    " Step 1. Run the following SQL-query

    ALTER TABLE `subscription` ADD `reoccur` VARCHAR( 10 ) DEFAULT '0' NOT NULL ; "

    How the fuck do I do that ? lol
    [email protected]
  • Jace
    FBOP Class Of 2013
    • Jan 2004
    • 35562

    #2
    do you already have a table called subscription? if so just paste that into phpmyadmin in the sql section and it should do the work for you

    Comment

    • Chris
      Too lazy to set a custom title
      • May 2003
      • 27880

      #3
      uighhh cant find phpmyadmin in the cpanel

      this is a headache
      trying tomake this forum subscription based and no fucking sites help
      [email protected]

      Comment

      • SilverTab
        Confirmed User
        • Nov 2001
        • 5060

        #4
        Originally posted by JupZChris
        uighhh cant find phpmyadmin in the cpanel

        this is a headache
        trying tomake this forum subscription based and no fucking sites help

        click on the DB in CPanel and there will be a link to phpmyadmin....then you click on the DB where your forum is installed, and then on the "SQL" tab...there's a text field where you can paste the query
        mmm my sig was too big... no more cool animation
        but hey still! need php? ICQ: 94586959

        Comment

        • SilverTab
          Confirmed User
          • Nov 2001
          • 5060

          #5
          if you can't do it, hit me up on ICQ I can do it for you...it'll take a second...
          mmm my sig was too big... no more cool animation
          but hey still! need php? ICQ: 94586959

          Comment

          • prodiac
            Confirmed User
            • Sep 2003
            • 419

            #6
            Originally posted by JupZChris
            THis script I am trying to install says this

            " Step 1. Run the following SQL-query

            ALTER TABLE `subscription` ADD `reoccur` VARCHAR( 10 ) DEFAULT '0' NOT NULL ; "

            How the fuck do I do that ? lol
            Yo, hit me up on icq, I'll help you, and walk you through doing it by hand.

            3150501

            Comment

            • Hell Puppy
              Confirmed User
              • Oct 2002
              • 183

              #7
              No offense but you're in over your head if you dont have phpmyadmin on the server and you dont know how to run a sql statement.

              You need something that will let you run SQL against the database in question. And it sounds like you may not even know the database name?

              Ask your host if you have phpmyadmin installed on your server. If so, login to it, select the database you're trying to update and just paste the statement into the "SQL" tab.

              Without phpmyadmin, you're likely looking at having to do it from a unix shell. In which case I'd recommend paying someone to do it for you.

              Comment

              • TheSaint
                Confirmed User
                • Jun 2003
                • 991

                #8
                Its not much harder from the shell.
                Just type "mysql"
                Then type use <database name>
                Then paste your query, and an extra "ENTER"

                But, as said, if you don't really understand what you are doing better to seek help.
                I have no signature

                Comment

                Working...