| Sign In/My Account | View Cart |
| Article: |
Apache Web-Serving With Mac OS X, Part 5 | |
| Subject: | RE: mysql admin | |
| Date: | 2003-09-15 14:14:06 | |
| From: | anonymous2 | |
|
When I type in mysqladmin terminal says "command not found" How can I find this utility or install it? |
||
Showing messages 1 through 1 of 1.
It turned out to be the path. Here is the info I found from the User's guide:
You should now be able to connect to the MySQL server, e.g. by running `/usr/local/mysql/bin/mysql'.
If you installed MySQL for the first time, please remember to set a password for the MySQL root user!
This is done with the following two commands:
/usr/local/mysql/bin/mysqladmin -u root password <password>
/usr/local/mysql/bin/mysqladmin -u root -h `hostname` password <password>
So, I found the mysqladmin in the bin folder...
Yeehaa!!!!
You might want to also add aliases to your shell's resource file to access mysql and mysqladmin from the command-line: