Und zwar wollte ich auf einem Debian Server[Kernel 2.6.5] einen MySQL Server installieren.
also per apt-get install mysql-server versucht zu installieren. Wirft mir aber nen Fehler raus.
Code: Select all
# apt-get install mysql-server
Reading Package Lists... Done
Building Dependency Tree... Done
Sorry, mysql-server is already the newest version.
0 packages upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
1 packages not fully installed or removed.
Need to get 0B of archives. After unpacking 0B will be used.
Setting up mysql-server (3.23.49-8.5) ...
Stopping MySQL database server: mysqld.
ATTENTION: An error is occured. More info in /var/log/mysql/mysql.err!
dpkg: error processing mysql-server (--configure):
subprocess post-installation script returned error exit status 127
Errors were encountered while processing:
mysql-server
E: Sub-process /usr/bin/dpkg returned an error code (1)
Code: Select all
Installing all prepared tables
libgcc_s.so.1 must be installed for pthread_cancel to work
Installation of grant tables failed!
Examine the logs in /var/lib/mysql for more information.
You can also try to start the mysqld daemon with:
/usr/sbin/mysqld --skip-grant &
You can use the command line tool
/usr/bin/mysql to connect to the mysql
database and look at the grant tables:
shell> /usr/bin/mysql -u root mysql
mysql> show tables
Try 'mysqld --help' if you have problems with paths. Using --log
gives you a log in /var/lib/mysql 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 /usr/bin/mysqlbug script!
libgcc_s.so.1 must be installed for pthread_cancel to work
Vielen Danke schonmal, Jan