Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Database & SysAdmin
  3. Database
  4. running mysql_install_db on windows

running mysql_install_db on windows

Scheduled Pinned Locked Moved Database
perldatabasemysqlquestion
5 Posts 4 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • H Offline
    H Offline
    Hesham Amin
    wrote on last edited by
    #1

    Hi I installed MySQL 4.0.16 on windows. the manual says I should run mysql_install_db to initialize the mysql database containing the grant tables. now in the scripts folder there are : mysql_install_db and mysql_install_db.sh files.. both are not executables as you see.. now what should I install to run these scripts ? is it Perl or what ?

    M 1 Reply Last reply
    0
    • H Hesham Amin

      Hi I installed MySQL 4.0.16 on windows. the manual says I should run mysql_install_db to initialize the mysql database containing the grant tables. now in the scripts folder there are : mysql_install_db and mysql_install_db.sh files.. both are not executables as you see.. now what should I install to run these scripts ? is it Perl or what ?

      M Offline
      M Offline
      michanne
      wrote on last edited by
      #2

      I believe that instruction is for linux. Those db's should already be installed. Look for section 2.4.1 in the manual. michanne

      H 1 Reply Last reply
      0
      • M michanne

        I believe that instruction is for linux. Those db's should already be installed. Look for section 2.4.1 in the manual. michanne

        H Offline
        H Offline
        Hesham Amin
        wrote on last edited by
        #3

        thank you.. If it's ment by (grant tables) the MySQL DB and it's tables (user,db,...) then maybe you are right..they were installed automatically.. but in this case why are these scripts included with the binaries ?

        M G 2 Replies Last reply
        0
        • H Hesham Amin

          thank you.. If it's ment by (grant tables) the MySQL DB and it's tables (user,db,...) then maybe you are right..they were installed automatically.. but in this case why are these scripts included with the binaries ?

          M Offline
          M Offline
          michanne1
          wrote on last edited by
          #4

          your welcome yes - it is for the grant tables. I suppose you might need it if something happened to that db. michanne

          1 Reply Last reply
          0
          • H Hesham Amin

            thank you.. If it's ment by (grant tables) the MySQL DB and it's tables (user,db,...) then maybe you are right..they were installed automatically.. but in this case why are these scripts included with the binaries ?

            G Offline
            G Offline
            Grimolfr
            wrote on last edited by
            #5

            hspc wrote: but in this case why are these scripts included with the binaries ? Welcome to the wonderful world of open-source, cross-platform development. Most likely, whoever did the packaging is more familiar with the Linux distro than the Win32 distro, and didn't know which pieces did and didn't need to be in the Win32 distro, so they were all thrown in.


            Grim

            (aka Toby)

            MCDBA, MCSD, MCP+SB

            Need a Second Life?[^]

            SELECT * FROM user WHERE clue IS NOT NULL GO

            (0 row(s) affected)

            1 Reply Last reply
            0
            Reply
            • Reply as topic
            Log in to reply
            • Oldest to Newest
            • Newest to Oldest
            • Most Votes


            • Login

            • Don't have an account? Register

            • Login or register to search.
            • First post
              Last post
            0
            • Categories
            • Recent
            • Tags
            • Popular
            • World
            • Users
            • Groups