PDA

Archiv verlassen und diese Seite im Standarddesign anzeigen : mysqladmin fehlt



marcjoerg
08.06.06, 15:50
Hallo zusammen!

Hab MySQL 5.1 über rpm installiert. Leider fehlt dort aber "mysqladmin", so dass ich nix konfigurieren kann etc. D.h. wenn ich "mysqladmin" oder auch nur "mysql" in die Konsole eingebe kennt er das nciht. Bei Version 4 ging das, da gabs aber andere Problemen. Mache ich was falsch?

Wenn ich mysql_install_db eingebe kommt folgende Meldung:

WARNING: The host 'HSI-KBW-082-212-054-877' could not be looked up with resolveip.
This probably means that your libc libraries are not 100 % compatible
with this binary MySQL version. The MySQL daemon, mysqld, should work
normally with the exception that host name resolving will not work.
This means that you should use IP addresses instead of hostnames
when specifying MySQL privileges !
Installing all prepared tables
Fill help tables

To start mysqld at boot time you have to copy support-files/mysql.server
to the right place for your system

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 HSI-KBW-082-212-054-877 password 'new-password'
See the manual for more instructions.

NOTE: If you are upgrading from a MySQL <= 3.22.10 you should run
the /usr/bin/mysql_fix_privilege_tables. Otherwise you will not be
able to use the new GRANT command!

You can start the MySQL daemon with:
cd / ; /usr/bin/mysqld_safe &

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


/usr/bin/mysqladmin -u root password 'new-password'
kann ich nicht ausführen, weil die Datei nicht vorhanden ist.

Gruß
Marc

quinte17
08.06.06, 15:59
aber der mysql-server ist schon gestartet oder?

marcjoerg
08.06.06, 16:48
aber der mysql-server ist schon gestartet oder?
Ja, der ist gestartet.

marcjoerg
09.06.06, 11:41
Wüsste sonst noch jemand, woran das liegen mag, dass die Datein nicht vorhanden sind?

comrad
09.06.06, 12:38
Die sind bestimmt vorhanden, nur vielleicht nicht unter /usr/bin/. Such mal danach:



find / -name "mysqladmin"

michael.sprick
09.06.06, 13:03
ich habe mal gesehen, ich glaube es war bei Suse, dass die RPM Pakete aufgeteilt sind in mysql, mysql-devel und vorallem mysql-client. Letzteres dürfte die ganzen Programme enthalten, die die scheinbar fehlen. Schau doch mal , was "rpm -qa | grep mysql" Dir sagt...

marcjoerg
09.06.06, 15:38
ich habe mal gesehen, ich glaube es war bei Suse, dass die RPM Pakete aufgeteilt sind in mysql, mysql-devel und vorallem mysql-client. Letzteres dürfte die ganzen Programme enthalten, die die scheinbar fehlen. Schau doch mal , was "rpm -qa | grep mysql" Dir sagt...

Danke, genau das war es.