Hiho liebe Community einer meiner Teammitglieder hat es geschafft irgendwie MySQL zu schrotten, zuerst dachte ich er hätte nur die benutzer gelöscht aber dann fiel mir auf das als ich die benutzer wiederhergestellt hatte das irgendwie alles net mehr richtig funzte.
wenn ich mysql start eingebe kommt folgendes:
Ich habe MySql auch schon neu installiert via. apt-get install mysql-server mysql-common mysql-client
auch das funkte net dann habe ich es removed und nochmal installiert und es kam folgendes:
In debian-start steht jedoch:
Mein OS ist Debian Etcht und emine frage ist gibt es irgendwie ne möglichkeit das in ordnung zu bringen?
wenn ich mysql start eingebe kommt folgendes:
ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: YES)
Ich habe MySql auch schon neu installiert via. apt-get install mysql-server mysql-common mysql-client
auch das funkte net dann habe ich es removed und nochmal installiert und es kam folgendes:
Setting up libdbd-mysql-perl (3.0008-1) ...
Setting up mysql-client-5.0 (5.0.32-7etch10) ...
Setting up mysql-server-5.0 (5.0.32-7etch10) ...
Stopping MySQL database server: mysqld.
Starting MySQL database server: mysqld.
Checking for corrupt, not cleanly closed and upgrade needing tables..
Setting up mysql-client (5.0.32-7etch10) ...
Setting up mysql-server (5.0.32-7etch10) ...
l-wilkes:~# /etc/mysql/debian-start: line 27: check_root_accounts: command not found
In debian-start steht jedoch:
#!/bin/bash
#
# This script is executed by "/etc/init.d/mysql" on every (re)start.
#
# Changes to this file will be preserved when updating the Debian package.
#
source /usr/share/mysql/debian-start.inc.sh
MYSQL="/usr/bin/mysql --defaults-file=/etc/mysql/debian.cnf"
MYADMIN="/usr/bin/mysqladmin --defaults-file=/etc/mysql/debian.cnf"
MYUPGRADE="/usr/bin/mysql_upgrade --defaults-extra-file=/etc/mysql/debian.cnf"
MYCHECK="/usr/bin/mysqlcheck --defaults-file=/etc/mysql/debian.cnf"
MYCHECK_SUBJECT="WARNING: mysqlcheck has found corrupt tables"
MYCHECK_PARAMS="--all-databases --fast --silent"
MYCHECK_RCPT="root"
# The following commands should be run when the server is up but in background
# where they do not block the server start and in one shell instance so that
# they run sequentially. They are supposed not to echo anything to stdout.
# If you want to disable the check for crashed tables comment
# "check_for_crashed_tables" out.
# (There may be no output to stdout inside the background process!)
echo "Checking for corrupt, not cleanly closed and upgrade needing tables."
(
upgrade_system_tables_if_necessary;
check_root_accounts;
check_for_crashed_tables;
) >&2 &
exit 0
Mein OS ist Debian Etcht und emine frage ist gibt es irgendwie ne möglichkeit das in ordnung zu bringen?