大家好, 我在执行 perl mysql-test-run.pl 时出现如下错误, 请问这是什么错误, 为什么会出现这样的错误, 我该如何解决?
[root@localhost mysql-test]# perl mysql-test-run.pl
Logging: mysql-test-run.pl 
MySQL Version 5.0.45
Using ndbcluster when necessary, mysqld supports it
Setting mysqld to support SSL connections
Using MTR_BUILD_THREAD      = 0
Using MASTER_MYPORT         = 9306
Using MASTER_MYPORT1        = 9307
Using SLAVE_MYPORT          = 9308
Using SLAVE_MYPORT1         = 9309
Using SLAVE_MYPORT2         = 9310
Using NDBCLUSTER_PORT       = 9310
Using IM_PORT               = 9312
Using IM_MYSQLD1_PORT       = 9313
Using IM_MYSQLD2_PORT       = 9314
Killing Possible Leftover Processes
Removing Stale Files
Creating Directories
Installing Master Database
Installing Master Database
Installing Slave1 Database
Installing Master Cluster
mysql-test-run: WARNING: running this script as _root_ will cause some tests to be skipped
=======================================================
Starting Tests in the 'main' suite
 
TEST                           RESULT         TIME (ms)
-------------------------------------------------------
 
mysql-test-run: WARNING: Process 5606 died
alias                          [ fail ]
 
ERROR: Failed to start master mysqld 0
 
Aborting: alias failed in default mode. To continue, re-run with '--force'.
Stopping All Servers
[root@localhost mysql-test]# 

解决方案 »

  1.   

    alias failed in default mode. To continue, re-run with  '--force '. 明显啊。
      

  2.   

     alias failed in default mode. To continue, re-run with  '--force '. 看这句。
      

  3.   

    Installing Master Cluster 
    mysql-test-run: WARNING: running this script as _root_ will cause some tests to be skipped 
    ======================================================= 
    Starting Tests in the 'main' suite TEST                          RESULT        TIME (ms) 
    ------------------------------------------------------- mysql-test-run: WARNING: Process 5606 died 
    alias                          [ fail ] ERROR: Failed to start master mysqld 0 Aborting: alias failed in default mode. To continue, re-run with '--force'. 
    Stopping All Servers 
    [root@localhost mysql-test]#