Women in Technology

Hear us Roar



Article:
  Apache Web-Serving With Mac OS X, Part 5
Subject:   mysqladmin: Command not found
Date:   2002-03-13 19:17:39
From:   devereld
All's well until the ending. Where does this command exist (package installation)? Do I have to add it?
Full Threads Oldest First

Showing messages 1 through 4 of 4.

  • Morbus Iff photo mysqladmin: Command not found
    2002-03-13 20:25:23  Morbus Iff | O'Reilly Author [View]

    The package installation plops this file into /usr/local/bin/mysqladmin. /usr/local/bin should be in your PATH already (meaning you don't have to specify the full path to the program), but if not, you can certainly do "/usr/local/bin/mysqladmin" without a problem.

    Or, you could "cd /usr/local/bin" and then run the "mysqladmin" command as shown.
    • Thanks, but needed to add sudo...
      2002-03-14 15:29:43  devereld [View]

      ...prior to the command in order to get it to work. Managed to complete the (very well done) tutorial. Thanks again.
      • Thanks, but needed to add sudo...tryed that no joy
        2005-05-24 04:08:44  pixel_wolf [View]

        [kirsten-wolfs-Computer:/usr/local/bin] wolf% sudo/usr/local/bin/mysqladmin
        tcsh: sudo/usr/local/bin/mysqladmin: Command not found.
        [kirsten-wolfs-Computer:/usr/local/bin] wolf% sudo mysqladmin
        Password:
        sudo: mysqladmin: command not found
        [kirsten-wolfs-Computer:/usr/local/bin] wolf%
        still comand not found- the php test is working- notes came up per tutorial but no joy with this command - how can i configure my sql -
      • Thanks, but needed to add sudo...
        2002-04-24 09:50:30  medazinol [View]

        Sometimes when you install new command line programs in OS X, the terminal (command line) will not know about the new software. Provided your shell profile has the required paths in it you can simply type:

        rehash

        in the terminal to get the shell to cache the changes...