PDA

Archiv verlassen und diese Seite im Standarddesign anzeigen : kann den Befehl für mysql binary Deinstallation nicht finden



Mr.Nobody
28.08.03, 23:06
Hallo!

Kann in google keinen Beitrag finden, wie man eine Binary Version von MySQL vollständig deinstalliert. Ich habe Suse8.2 und mysql-3.23.41-pc-linux-gnu-i686.tar.gz
installiert. Ich möchte diese Version wieder deinstallieren und mir eine andere
Version herunterladen. Weiß jemand wie man so ein Programm wieder deinstalliert?


Ich habe ich den apache2 selbst kompiliert und mit php am laufen.

Ich möchte diese msql-Version deshalb wieder deinstallieren, weil ich nach ausführen
von folgenden Befehlen:

groupadd mysql
useradd -g mysql mysql
cd /usr/local
tar xvfz mysql-3.23.41-pc-linux-gnu-i686.tar.gz
ln -s mysql-3.23.41-pc-linux-gnu-i686 mysql
cd mysql
bash scripts/mysql_install_db

diese Fehlermeldung erhalten habe:

linux:/usr/local/mysql # bash scripts/mysql_install_db
WARNING: The host 'linux' 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 deamon, 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 !
Preparing db table
Preparing host table
Preparing user table
Preparing func table
Preparing tables_priv table
Preparing columns_priv table
Installing all prepared tables
mysqld got signal 11;
This could be because you hit a bug. It is also possible that this binary
or one of the libraries it was linked agaist is corrupt, improperly built,
or misconfigured. This error can also be caused by malfunctioning hardware.
We will try our best to scrape up some info that will hopefully help diagnose
the problem, but since we have already crashed, something is definitely wrong
and this may fail

key_buffer_size=8388600
record_buffer=131072
sort_buffer=2097144
max_used_connections=0
max_connections=100
threads_connected=0
It is possible that mysqld could use up to
key_buffer_size + (record_buffer + sort_buffer)*max_connections = 225791 K
bytes of memory
Hope that's ok, if not, decrease some variables in the equation

Attempting backtrace. You can use the following information to find out
where mysqld died. If you see no messages after this, something went
terribly wrong...
Bogus stack limit or frame pointer, fp=0xbfffe6e8, stack_bottom=0x6070607, thread_stack=65536, aborting backtrace.
Trying to get some variables.
Some pointers may be invalid and cause the dump to abort...
thd->query at 0x6070607 is invalid pointer
thd->thread_id=-589571367


Successfully dumped variables, if you ran with --log, take a look at the
details of what thread -589571367 did to cause the crash. In some cases of really
bad corruption, the values shown above may be invalid

The manual page at http://www.mysql.com/doc/C/r/Crashing.html contains
information that should help you find out what is causing the crash
Installation of grant tables failed!

Examine the logs in ./data for more information.
You can also try to start the mysqld daemon with:
./bin/mysqld --skip-grant &
You can use the command line tool
./bin/mysql to connect to the mysql
database and look at the grant tables:

shell> ./bin/mysql -u root mysql
mysql> show tables

Try 'mysqld --help' if you have problems with paths. Using --log
gives you a log in ./data that may be helpful.

The latest information about MySQL is available on the web at
http://www.mysql.com
Please consult the MySQL manual section: 'Problems running mysql_install_db',
and the manual section that describes problems on your OS.
Another information source is the MySQL email archive.
Please check all of the above before mailing us!
And if you do mail us, you MUST use the ./bin/mysqlbug script!
linux:/usr/local/mysql # bash scripts/mysql_install_db
WARNING: The host 'linux' 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 deamon, 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 !
Preparing db table
Preparing host table
Preparing user table
Preparing func table
Preparing tables_priv table
Preparing columns_priv table
Installing all prepared tables
mysqld got signal 11;
This could be because you hit a bug. It is also possible that this binary
or one of the libraries it was linked agaist is corrupt, improperly built,
or misconfigured. This error can also be caused by malfunctioning hardware.
We will try our best to scrape up some info that will hopefully help diagnose
the problem, but since we have already crashed, something is definitely wrong
and this may fail

key_buffer_size=8388600
record_buffer=131072
sort_buffer=2097144
max_used_connections=0
max_connections=100
threads_connected=0
It is possible that mysqld could use up to
key_buffer_size + (record_buffer + sort_buffer)*max_connections = 225791 K
bytes of memory
Hope that's ok, if not, decrease some variables in the equation

Attempting backtrace. You can use the following information to find out
where mysqld died. If you see no messages after this, something went
terribly wrong...
Bogus stack limit or frame pointer, fp=0xbfffe6e8, stack_bottom=0x6070607, thread_stack=65536, aborting backtrace.
Trying to get some variables.
Some pointers may be invalid and cause the dump to abort...
thd->query at 0x6070607 is invalid pointer
thd->thread_id=-589571367


Successfully dumped variables, if you ran with --log, take a look at the
details of what thread -589571367 did to cause the crash. In some cases of really
bad corruption, the values shown above may be invalid

The manual page at http://www.mysql.com/doc/C/r/Crashing.html contains
information that should help you find out what is causing the crash
Installation of grant tables failed!

Examine the logs in ./data for more information.
You can also try to start the mysqld daemon with:
./bin/mysqld --skip-grant &
You can use the command line tool
./bin/mysql to connect to the mysql
database and look at the grant tables:

shell> ./bin/mysql -u root mysql
mysql> show tables

Try 'mysqld --help' if you have problems with paths. Using --log
gives you a log in ./data that may be helpful.

The latest information about MySQL is available on the web at
http://www.mysql.com
Please consult the MySQL manual section: 'Problems running mysql_install_db',
and the manual section that describes problems on your OS.
Another information source is the MySQL email archive.
Please check all of the above before mailing us!
And if you do mail us, you MUST use the ./bin/mysqlbug script!

mfG
N.

Berufspenner
31.08.03, 11:18
Hi

Wenn du MySQL noch nicht mal kopiliert hast, dann kannst du doch einfach das Verzeichnes löschen. Bis jetzt hast du ja nur einen User für den MySQL Daemon eingerichtet und das Archiev entpackt. Mehr nicht. Was willst du dann also bitteschön deinstallieren, wenn du nichts installiert hast? :confused:

Cu
André

Mr.Nobody
31.08.03, 12:03
Hallo!

Danke für die Antwort, hatte inzwischen schon das Verzeichniss /mysql gelöscht, war
mir aber trotzdem nicht sicher, ob das so richtig ist, oder ob ich jetzt was installiert
habe oder nicht. Aber mit dem start script mysql_install_db müßte ich ja eigentlich
doch was installiert haben. Es gibt glaube ich auch Versionen, die man nicht
kompilieren muß.

Habe jetzt mysql-standard-4.0.14-pc-linux-i686 installiert, und hier kam jetzt keine
Fehlermeldung mehr beim Ausführen des scripts mysql_install_db

Ich kann jetzt MySQL starten mit ./bin/safe_mysqld --user=mysql &
und auch beenden mit ./bin/mysgladmin --user=root shutdown.

mfG
N.