# Mysqladmin - command not found

**URL:** <https://www.ruby-forum.com/t/mysqladmin-command-not-found/127222>\
**Category:** Rails\
**Created:** [January 26, 2008, 2:55pm UTC](https://www.ruby-forum.com/t/mysqladmin-command-not-found/127222 "2008-01-26T14:55:46Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![dangermoose](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/e79b87/32.png) [@dangermoose](https://www.ruby-forum.com/u/dangermoose)\
**Post date:** [January 26, 2008, 2:55pm UTC](https://www.ruby-forum.com/t/mysqladmin-command-not-found/127222/1 "2008-01-26T14:55:46Z")

</div>

I have just installed MySQL on my Leopard notebook (clean install) and  
when I tried to use the sqlmyadmin command in the console, it returned  
the message “command not found”. Does this mean that MySQL has not yet  
been configured correctly?

I have pasted in the console commands from the session below:

Last login: Sat Jan 26 21:27:45 on console  
-bash: /Users/username/.bash\_login: is a directory  
usernames-macbook-pro:~ username$ mysqladmin -u root  
create\_music\_library\_development  
-bash: mysqladmin: command not found  
usernames-macbook-pro:~ username$ cd –  
usernames-macbook-pro:~ username$ mysqladmin -u root  
create\_music\_library\_development  
-bash: mysqladmin: command not found  
usernames-macbook-pro:~ username$

Thank you for your assistance.

---

<div class="post-metadata">

**Author:** ![dangermoose](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/e79b87/32.png) [@dangermoose](https://www.ruby-forum.com/u/dangermoose)\
**Post date:** [January 26, 2008, 3:22pm UTC](https://www.ruby-forum.com/t/mysqladmin-command-not-found/127222/2 "2008-01-26T15:22:18Z")

</div>

Hi Paul,

On 26/01/2008, removed\_email\_address@domain.invalid [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)  
wrote:

> -bash: /Users/username/.bash\_login: is a directory  
> what is this on your system?

usernames-macbook-pro:~ username$ mysqladmin -u root

> create\_music\_library\_development

it’s ‘mysqladmin -u root create music\_library\_development’  
not ‘mysqladmin -u root create\_music\_library\_development’

see also ‘mysqladmin --help’

-Thomas

–  
Thomas P.  
removed\_email\_address@domain.invalid  
removed\_email\_address@domain.invalid  
BÃ¼ro: 030 - 830 353 88  
mobil: 0176 - 75 03 03 04  
Privat: 030 - 49 78 37 06

> **[thopre](https://thopre.wordpress.com/)**
>
> Entwicklungen für die Bühne des Lebens

[http://www.thopre.com/](http://www.thopre.com/)

---

<div class="post-metadata">

**Author:** ![dangermoose](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/e79b87/32.png) [@dangermoose](https://www.ruby-forum.com/u/dangermoose)\
**Post date:** [January 26, 2008, 3:37pm UTC](https://www.ruby-forum.com/t/mysqladmin-command-not-found/127222/3 "2008-01-26T15:37:36Z")

</div>

I just removed my name and put in “username” as a placeholder instead.  
Everything else is as in the console session.

Paul

---

<div class="post-metadata">

**Author:** ![dangermoose](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/e79b87/32.png) [@dangermoose](https://www.ruby-forum.com/u/dangermoose)\
**Post date:** [January 28, 2008, 12:40am UTC](https://www.ruby-forum.com/t/mysqladmin-command-not-found/127222/4 "2008-01-28T00:40:48Z")

</div>

On Sat, 26 Jan 2008, removed\_email\_address@domain.invalid wrote:

> I have just installed MySQL on my Leopard notebook (clean install) and  
> when I tried to use the sqlmyadmin command in the console, it returned  
> the message “command not found”. Does this mean that MySQL has not yet  
> been configured correctly?

It means mysqladmin is probably not in your shell’s PATH.

What do the commands “set” and “locate mysqladmin” show?

–  
A
