We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 58f35c3 commit a44d812Copy full SHA for a44d812
wre/lib/WRE/Mysql.pm
@@ -209,8 +209,7 @@ sub start {
209
my $count = 0;
210
my $success = 0;
211
my $config = $self->wreConfig;
212
- my $host = WRE::Host->new(wreConfig => $config);
213
- my $cmd = "mysql.server start --user=".$config->get("user");
+ my $cmd = "service mysql start";
214
`$cmd`; # catch command line output
215
while ($count < 10 && $success == 0) {
216
sleep(1);
@@ -238,8 +237,7 @@ sub stop {
238
237
239
my $success = 1;
240
241
242
- my $cmd = "mysql.server stop";
+ my $cmd = "service mysql stop";
243
244
while ($count < 10 && $success == 1) {
245
0 commit comments