fix for 2976436, think there will always be the socket param to check that mysql is running
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5741 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
parent
2ca089af3a
commit
8aea924c3f
@ -154,7 +154,7 @@ $::mysqlrunning = 0;
|
||||
$::xcatrunningmysql = 0;
|
||||
my $cmd = "ps -ef | grep mysqld";
|
||||
my @output = xCAT::Utils->runcmd($cmd, 0);
|
||||
my $mysqlcheck = "--datadir"; # see if really running
|
||||
my $mysqlcheck = "mysql.sock"; # see if really running
|
||||
if (grep(/$mysqlcheck/, @output))
|
||||
{
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user