LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   MySql installs ok, but no /usr/bin/mysqladmin dir (https://www.linuxquestions.org/questions/linux-software-2/mysql-installs-ok-but-no-usr-bin-mysqladmin-dir-727118/)

k0ntank3rous 05-19-2009 02:59 PM

MySql installs ok, but no /usr/bin/mysqladmin dir
 
[root@testls87 DOWNLOADS]# rpm -i MySQL-server-standard-4.1.22-0.rhel4.i386.rpm
warning: MySQL-server-standard-4.1.22-0.rhel4.i386.rpm: V3 DSA signature: NOKEY, key ID 5072e1f5
PLEASE REMEMBER TO SET A PASSWORD FOR THE MySQL root USER !
To do so, start the server, then issue the following commands:
/usr/bin/mysqladmin -u root password 'new-password'
/usr/bin/mysqladmin -u root -h testls87.icallinc.com password 'new-password'
See the manual for more instructions.

Please report any problems with the /usr/bin/mysqlbug script!

The latest information about MySQL is available on the web at
http://www.mysql.com
Support MySQL by buying support/licenses at http://shop.mysql.com
Starting MySQL[ OK ]
[root@testls87 DOWNLOADS]# chkconfig mysqld on
error reading information on service mysqld: No such file or directory
[root@testls87 DOWNLOADS]# /etc/init.d/mysql start
Starting MySQL[ OK ]
[root@testls87 DOWNLOADS]# mysqladmin -u root password NEWPASSWORD
-bash: mysqladmin: command not found
[root@testls87 DOWNLOADS]# /usr/bin/mysqladmin -u root password 'new-password'
-bash: /usr/bin/mysqladmin: No such file or directory


help!!

bathory 05-19-2009 04:04 PM

mysqladmin is part of the mysql-client package, so you have to install that package in order to use mysqladmin, mysql etc

Regards

pk315 01-04-2013 08:05 PM

Great.:)


All times are GMT -5. The time now is 09:33 AM.