We've expanded our news coverage and improved our search! Visit
oreilly.com for the latest or search for all things across O'Reilly!
Article:
 |
|
Apache Web-Serving With Mac OS X, Part 5
|
| Subject: |
|
RE: mysql admin |
| Date: |
|
2003-09-15 19:06:35 |
| From: |
|
anonymous2
|
Response to: RE: mysql admin
|
Once again with persistence I succeeded!
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:
|