Commit ac4d06a59420b265b78a3e7aff7c24fb2e0c88b4
1 parent
d00fab18
KTC-863: Mysql redhat check updated.
Committed by: Jarrett Jordaan Reviewed by: Prince Mbekwa
Showing
1 changed file
with
3 additions
and
0 deletions
setup/migrate/steps/migrateComplete.php
| @@ -169,6 +169,9 @@ class migrateComplete extends Step { | @@ -169,6 +169,9 @@ class migrateComplete extends Step { | ||
| 169 | $mysqlPid = "/var/run/mysqld/mysqld.sock"; | 169 | $mysqlPid = "/var/run/mysqld/mysqld.sock"; |
| 170 | if(file_exists($mysqlPid)) | 170 | if(file_exists($mysqlPid)) |
| 171 | $running = true; | 171 | $running = true; |
| 172 | + $mysqlPid = "/var/run/mysqld/mysqld.pid"; | ||
| 173 | + if(file_exists($mysqlPid)) | ||
| 174 | + $running = true; | ||
| 172 | } | 175 | } |
| 173 | if($running) { | 176 | if($running) { |
| 174 | $this->temp_variables['zmysql']['class'] = "tick"; | 177 | $this->temp_variables['zmysql']['class'] = "tick"; |