How to create Mysql DB

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Juicy D. Links
    So Fucking Banned
    • Apr 2001
    • 122992

    #1

    How to create Mysql DB

    How can i create this myself on my box with out asking my host to.

    I went into my bos typed mysql at the prompt and set permission denied any advice or online resources?
  • galleryseek
    Confirmed User
    • Mar 2002
    • 8234

    #2
    i remember once having to install apache/php/mysql on win2k(i think)... it wasn't too hard i remember... there'll be tons of matches on google that'll help you if you type in the right keywords depending on the version / os n' such.

    Comment

    • JFPdude
      Confirmed User
      • Jan 2002
      • 4027

      #3
      Originally posted by juicylinks
      How can i create this myself on my box with out asking my host to.

      I went into my bos typed mysql at the prompt and set permission denied any advice or online resources?

      mysql is usually run with mysql or root permissions.

      If your on shared hosting you need to contact your host about a mysql database.

      However if you have dedicated hosting you may have access to do these tasks yourself.

      Comment

      • juicylinks
        So Fucking Banned
        • Apr 2001
        • 122992

        #4
        Yeah i am on my own box with root access ill browse google see what i hit

        Comment

        • xroach
          Confirmed User
          • Feb 2002
          • 963

          #5
          # mysql -u root -p


          mysql> create database [databasename];

          (make a superuser)
          mysql> grant all privileges on [databasename] to [username]@localhost identified by '[password]';

          mysql> reload privileges;

          Comment

          • JFPdude
            Confirmed User
            • Jan 2002
            • 4027

            #6
            A good tutorial on mysql can be found at vtc.com

            you will need the root mysql password

            prompt# mysql -p <enter>
            Password: <enter password here>

            blahblahblah mysql header:

            mysql> create database databasename;
            mysql> grant [permissions you want here] on databasename.* to usernamehere identified by 'passwordherekeepthesinglequotes';
            mysql> flush privileges;

            those commands are all on one line btw.


            Hope this helps you.
            Last edited by JFPdude; 01-21-2003, 11:37 AM.

            Comment

            • JFPdude
              Confirmed User
              • Jan 2002
              • 4027

              #7
              yeah what xroach said.

              both ways of doing the commands will result the same.

              Comment

              • Ludedude
                Suck it!
                • Jun 2001
                • 4432

                #8
                Or just go here http://phpmyadmin.sourceforge.net/

                Comment

                • d0se
                  Confirmed User
                  • Jul 2002
                  • 1225

                  #9
                  If you cant administer a mySQL db from the command prompt u need to leave it to the people with a clue. Hire a programmer it will be cheaper and easier for you in the long run. Not having a go at u or nething but if DBs aint your thing ur better off getting someone in the know to get it sorted for you.
                  <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

                  • picindex
                    Confirmed User
                    • Oct 2002
                    • 1038

                    #10
                    phpMyAdmin

                    This tool rocks
                    Good Content:

                    Comment

                    • Cogitator
                      Confirmed User
                      • Feb 2002
                      • 672

                      #11
                      JuicyLinks: You are either a woman or very gay. Which is it?
                      - this space intentionally left blank -

                      Comment

                      • juicylinks
                        So Fucking Banned
                        • Apr 2001
                        • 122992

                        #12
                        I already created them guys i aint stupid thanks for the tips

                        Comment

                        • juicylinks
                          So Fucking Banned
                          • Apr 2001
                          • 122992

                          #13
                          Originally posted by Cogitator
                          JuicyLinks: You are either a woman or very gay. Which is it?
                          Next time your in NY come over and youll find out

                          Comment

                          • Carrie
                            Confirmed User
                            • Apr 2002
                            • 3162

                            #14
                            That's it. Show us yer tits!
                            (Especially if it's a nicely built set of pecs covered in warm soft hair. Mmm.)

                            Comment

                            • JimW
                              Confirmed User
                              • Dec 2002
                              • 422

                              #15
                              Originally posted by picindex
                              phpMyAdmin

                              This tool rocks
                              definately!!!

                              Comment

                              Working...