mysql server installation


New Member

ich habe folgendes Problem:
Ich hab versucht mysql-server zu installieren, aber es ist Fehleschlagen.
Auf dem Rootserver läuft Debian 6 (Squeeze) und vorher war LAMPP als Webserversoftware installiert. LAMPP wurde deinstalliert. Danach wurde apache2 und php installiert. Dann wollte ich mysql-server installieren aber es schlägt fehl.

Hier mal die Ausgabe vom Shell:

root@GPR0193:~# apt-get install mysql-server                                                                                                                                                                                               
Reading package lists... Done                                                                                                                                                                                                              
Building dependency tree                                                                                                                                                                                                                   
Reading state information... Done                                                                                                                                                                                                          
The following extra packages will be installed:                                                                                                                                                                                            
Suggested packages:                                                                                                                                                                                                                        
The following NEW packages will be installed:                                                                                                                                                                                              
  mysql-server mysql-server-5.1                                                                                                                                                                                                            
0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.                                                                                                                                                                             
Need to get 0 B/6,658 kB of archives.                                                                                                                                                                                                      
After this operation, 15.1 MB of additional disk space will be used.                                                                                                                                                                       
Do you want to continue [Y/n]? y                                                                                                                                                                                                           
Preconfiguring packages ...                                                                                                                                                                                                                
Selecting previously deselected package mysql-server-5.1.                                                                                                                                                                                  
(Reading database ... 27479 files and directories currently installed.)                                                                                                                                                                    
Unpacking mysql-server-5.1 (from .../mysql-server-5.1_5.1.63-0+squeeze1_amd64.deb) ...                                                                                                                                                     
Selecting previously deselected package mysql-server.                                                                                                                                                                                      
Unpacking mysql-server (from .../mysql-server_5.1.63-0+squeeze1_all.deb) ...                                                                                                                                                               
Processing triggers for man-db ...                                                                                                                                                                                                         
Setting up mysql-server-5.1 (5.1.63-0+squeeze1) ...                                                                                                                                                                                        
Stopping MySQL database server: mysqld.                                                                                                                                                                                                    
121027 22:31:12 [Warning] Ignoring user change to 'mysql' because the user was set to 'nobody' earlier on the command line                                                                                                                 
121027 22:31:12 [Warning] Ignoring user change to 'mysql' because the user was set to 'nobody' earlier on the command line                                                                                                                 
121027 22:31:12 [Note] Plugin 'FEDERATED' is disabled.                                                                                                                                                                                     
121027 22:31:12  InnoDB: Initializing buffer pool, size = 16.0M                                                                                                                                                                            
121027 22:31:12  InnoDB: Completed initialization of buffer pool                                                                                                                                                                           
121027 22:31:12  InnoDB: Started; log sequence number 0 44233                                                                                                                                                                              
ERROR: 1049  Unknown database 'mysql'                                                                                                                                                                                                      
121027 22:31:12 [ERROR] Aborting                                                                                                                                                                                                           
121027 22:31:12  InnoDB: Starting shutdown...                                                                                                                                                                                              
121027 22:31:17  InnoDB: Shutdown completed; log sequence number 0 44233                                                                                                                                                                   
121027 22:31:17 [Note] /usr/sbin/mysqld: Shutdown complete                                                                                                                                                                                 
Starting MySQL database server: mysqld . . . . . . . . . . . . . . failed!                                                                                                                                                                 
invoke-rc.d: initscript mysql, action "start" failed.                                                                                                                                                                                      
dpkg: error processing mysql-server-5.1 (--configure):                                                                                                                                                                                     
 subprocess installed post-installation script returned error exit status 1                                                                                                                                                                
configured to not write apport reports                                                                                                                                                                                                     
dpkg: dependency problems prevent configuration of mysql-server:                                                                                                                                                                           
 mysql-server depends on mysql-server-5.1; however:                                                                                                                                                                                        
  Package mysql-server-5.1 is not configured yet.                                                                                                                                                                                          
dpkg: error processing mysql-server (--configure):                                                                                                                                                                                         
 dependency problems - leaving unconfigured                                                                                                                                                                                                
configured to not write apport reports                                                                                                                                                                                                     
Errors were encountered while processing:                                                                                                                                                                                                  
E: Sub-process /usr/bin/dpkg returned an error code (1)