Эта тема на forum.dklab.ru


Maus: Отключение MySQL с помощью mysqladmin
Всё просто: открываем /denwer/scripts/init.d/mysql.pl и меняем print "Завершаем работу MySQL...\n";

my @ps = Tools::searchForProcesses($exe);
if(@ps) {
foreach my $ps (@ps) {
my $r = kill 2, $ps->{pid};
}
sleep(1);
# If some processes haven't finished, do it again
# with more cruel signal.
@ps = Tools::searchForProcesses($exe);
foreach my $ps (@ps) {
my $r = kill 9, $ps->{pid};
print " Process $ps->{exe} (PID=$ps->{pid}) killed with signal 9\n";
}
print " Готово.\n";

на
my @ps = Tools::searchForProcesses($exe);
if(@ps) {
my $cmd = "start $basedir/bin/mysqladmin.exe -uroot shutdown";
system $cmd;
sleep(2);
print " Готово.\n";

Maus:
уточнить задержку под длительность отключения можно, посмотрев в лог mysql - там появятся записи, например:
110302 4:00:41 [Note] \usr\local\mysql-5.1\bin\mysqld.exe: Normal shutdown

110302 4:00:41 [Note] Event Scheduler: Purging the queue. 0 events
110302 4:00:41 InnoDB: Starting shutdown...
110302 4:00:42 InnoDB: Shutdown completed; log sequence number 377081764
110302 4:00:42 [Note] \usr\local\mysql-5.1\bin\mysqld.exe: Shutdown complete
bæv:
Ветка выделена в отдельную тему «мусор, не относящийся к теме»,
расположенную в форуме Мусоропровод (03 Апреля 2012, 18:08).
Maus:
всплыла проблема - код не работал на 64-битной системе. Проблема в том, что с Денвером идет бинарник ps.exe , эмулирующий аналогичную утилиту под Linux. И 64-битные приложения он, похоже, не видит.
Пришлось править /denwer/scripts/lib/Tools.pm , изменить функцию:
sub getPs {
my ($dontDieOnError) = @_;
my @ps_pathes = (getToolExePath("ps.exe"));
foreach my $ps (@ps_pathes) {
$ps =~ s{/}{\\}sg; next if !-f $ps;
my $out = getComOutput("\"$ps\"") or next;

foreach my $line (split /(?:\r?\n)+/s, $out) {
my ($pid, $exe) = $line=~/^\s* ([0-9a-z-]+) \s+ ([^\n\r]+)/mix;
push @ps, { pid=>$pid, exe=>$exe };
}
return \@ps;
}
# PS.exe not found.
return if $dontDieOnError;
die "No ps.exe found in ".join(", ",@ps_pathes)."!\n";
}


на
sub getPs {
my ($dontDieOnError) = @_;

my @ps = ();
my $out = `tasklist /NH /FO csv`;
foreach my $line (split /(?:\r?\n)+/s, $out) {
my ($exe, $pid) = $line=~/^"([^"]+)","([^"]+)"/mix;
push @ps, { pid=>$pid, exe=>$exe };
}
return \@ps;
}

функционал dontDieOnError был потерян при этом, к сожалению.
carryonjutta:
код не работал на 64-битной системе. Проблема в том, что с Денвером идет бинарник ps.exe , C4120-782 dump эмулирующий аналогичную утилиту под Linux.
qiujie: 2016912qiujie
discount oakley sunglasses
ralph lauren outlet
coach outlet
birkenstock sandals
ugg boots outlet
ysl outlet
nfl jerseys
ugg boots
christian louboutin
true religion outlet
oakley vault
uggs australia
coach outlet
gucci outlet
the north face
timberland boots
pandora charms
true religion outlet
basketball shoes
fitflops
birkenstock sandals
gucci borse
cheap ray bans
michael kors outlet
yeezy boost 350 balck
cheap jordans
timberlands
nike trainers
yeezy boost 350
true religion
kevin durant shoes
the north face
ugg boots
ugg australia
ugg outlet
louis vuitton factory outlet
ray ban sunglasses
nike free flyknit
omega replica watches
louis vuitton handbags
ugg australia outlet
ugg outlet
uggs
michael kors handbags
michael kors handbags outlet
yeezy boost 350
reebok
ugg boots
cheap nhl jerseys
coach outlet
bottega veneta outlet
air max 2016
polo ralph lauren outlet
ralph lauren outlet
canada goose uk
ralph lauren outlet
true religion jeans
michael kors purses
canada goose pas cher
prada outlet store
michael kors outlet
ray ban sunglasses discount
louis vuitton outlet
ray bans
michael kors handbags outlet
nike free flyknit 4.0
coach outlet
uggs on sale
lacoste shoes
true religion jeans
canada goose outlet
converse sneakers
coach factory outlet
oakley sunglasses
michael kors outlet clearance
nike tn
doudoune moncler
cheap oakley sunglasses
coach outlet online
bottega veneta handbags
nike air max
puma shoes
canada goose outlet online
fitflops sale clearance
nike free flyknit
polo ralph lauren outlet online
ysl outlet online
louis vuitton outlet
coach outlet
coach outlet store
ugg boots
designer bags
coach outlet online coach factory outlet
moncler outlet
coach outlet online
chi flat iron
kd 9 shoes
michael kors outlet clearance
lacoste outlet
ugg boots canada
valentino shoes on sale
gucci outlet
christian louboutin shoes
michael kors outlet
air force 1
kobe 9
oakley vault sunglasses
converse uk
mcm outlet
ugg australia
birkenstock sandals
ugg boots
gucci handbags
michael kors outlet
converse trainers
uggs
hollister sale
ray ban sunglasses
ugg boots canada
ralph lauren pas cher
ecco shoes
yeezy boost
nike store
ugg boots
nike huarache trainers
michael kors outlet clearance
michael kors outlet
ralph lauren outlet
cheap jordans
michael kors outlet
ugg boots
rolex replica watches
cheap uggs
hermes outlet
polo ralph lauren
reebok shoes
adidas superstars
burberry outlet
coach factory outlet
adidas trainers
coach outlet
birkenstock sandals
cheap jordan shoes
polo outlet
cheap uggs
louis vuitton outlet
cheap nfl jerseys
ray ban sunglasses discount
oakley vault
louboutin uk
discount ray ban sunglasses
oakley sunglasses
coach outlet online
michael kors outlet
supra shoes
rolex submariner
rolex replica watches
tory burch outlet
uggs for kids
true religion jeans
levis jeans
polo outlet
michael kors bags
kate spade outlet
louis vuitton handbags outlet
michael kors outlet online
cheap ugg sale
coach factory outlet
michael kors outlet
cheap uggs
michael kors handbags
canada goose jackets
skechers shoes
vans shoes
coach purses
louis vuitton factory outlet
coach outlet
uggs sale
michael kors watches
cheap nike shoes
uggs outlet
michael kors outlet
canada goose outlet online
ugg outlet
michael kors handbags
ugg boots
christian louboutin shoes
birkenstocks
pandora outlet
discount nike shoes
burberry outlet
fitflops clearance
cheap nba jerseys
nike cortez
jimmy choo shoes
tiffany and co jewelry
toms outlet
rolex replica watches
timberland outlet
pandora outlet
ghd flat iron
nike air max
louis vuitton outlet store
true religion jeans
coach factory outlet
moncler jackets
cheap ferragamo shoes
michael kors outlet clearance
coach factory outlet
true religion outlet
celine outlet
kate spade handbags
ray ban sunglasses
louis vuitton outlet online
michael kors outlet
ferragamo shoes
coach outlet
north face jackets
canada goose jackets
ugg outlet
ugg outlet
ugg sale
ugg boots
sac longchamp pliage
cheap oakleys
jordan pas cher
christian louboutin
rolex watches
ugg boots
abercrombie and fitch outlet
michael kors outlet
cheap ray ban sunglasses
ugg outlet
pandora uk
true religion jeans
pandora jewelry
fitflops
michael kors outlet
true religion outlet
oakley sunglasses
kate spade handbags
pandora charms
ugg boots
uggs outlet
louis vuitton outlet
canada goose jackets
ugg boots outlet
ed hardy outlet
buy red bottoms
versace shoes
louis vuitton outlet
mont blanc pens
canada goose
uggs on sale
rolex watches
uggs
ugg outlet
nike air max
ugg boots sale
longchamp bags
coach outlet store online
rolex watches
jordan shoes
canada goose outlet
christian louboutin outlet
ralph lauren
birkenstocks
ugg boots
tiffany jewelry
michael kors handbags
nike air max shoes
canada gooses outlet
adidas gazelle
coach outlet store online clearances
rolex watches for sale
christian louboutin outlet
coach outlet
cheap ugg boots
polo outlet
polo outlet
ugg australia
abercrombie and fitch
louis vuitton bags
canada goose jackets
ugg outlet
reebok uk
moncler outlet
adidas nmd runner
kate spade
ray ban sunglasses outlet
coach outlet
true religion outlet
louis vuitton handbags
ugg outlet
hollister clothing
ed hardy uk
louis vuitton factory outlet
ugg outlet
cheap ray ban sunglasses
michael kors outlet store
cheap mlb jerseys
nike free run black
coach outlet
kobe shoes
polo ralph lauren
air max 90
adidas nmd
canada goose jackets
nike air force white
coach outlet
ugg boots
oakley sunglasses
air jordan retro
louis vuitton factory
michael kors handbags
michael kors outlet clearance
louis vuitton pas cher
adidas superstar
nike air max 90
canada goose jackets
cheap uggs
cheap jordans
oakley sunglasses outlet
hollister co
cheap oakley sunglasses
air jordans
oakley sunglasses
ralph lauren outlet
michael kors outlet
michael kors outlet online
michael kors bags
toms
ralph lauren outlet
canada goose outlet
air max 90
ugg pas cher
ray bans
cheap jerseys wholesale
timberland boots
moncler coats
omega watches
adidas nmd
michael kors outlet clearance
true religion
coach outlet online
micahel kors outlet online
kate spade outlet
michael kors outlet clearance
longchamp handbags
christian louboutin sale
michael kors outlet
burberry outlet
hermes belt
michael kors outlet clearance
hermes belt
toms shoes
michael kors outlet
tiffany and co jewelry
dolce and gabbana outlet
longchamp outlet
timberland boots
ugg sale
adidas shoes uk
nike blazer
armani watches
cheap jordans
michael kors outlet online
louboutin outlet
christian louboutin outlet
ugg outlet online
red bottom shoes
nike air max 90
polo ralph lauren outlet online
oakley sunglasses
nfl jerseys wholesale
louis vuitton outlet
adidas supercolor
converse shoes
ugg boots
hollister clothing
louboutin pas cher
ralph lauren outlet online
reebok pump
cheap jordans
louboutin
nike air force 1
tommy hilfiger outlet
birkenstocks
nike roshe run women
cheap ugg boots
ugg boots outlet
nike huarache white
ralph lauren outlet
birkenstock sandals
polo ralph lauren
prada outlet
ray ban sunglasses
ugg outlet
moncler jackets
celine outlet store
burberry sale
valentino shoes
ugg boots on sale
nike air max sale
chaussure louboutin
longchamp outlet
moncler outlet
christian louboutin outlet
uggs sale
ghd hair straighteners
oakley sunglasses outlet
nike cortez red
louis vuitton handbags
mont blanc outlet
vans sk8 hi
cheap uggs
burberry sale
tiffany and co
nike free flyknit 4.0
lebron james sneakers
air jordan uk
nba jerseys
coach outlet
fitflops
coach factory outlet
christian louboutin shoes
burberry outlet online
uggs
mlb jerseys
canada goose parka
polo ralph lauren
christian louboutin
birkenstock
michael kors handbags
north face jackets
ugg australia
birkenstock sheos
jimmy choo outlet
michael kors outlet clearance
hugo boss outlet
babyliss pro
nike free run
moncler jackets
louis vuitton outlet
yeezy boost 350
coach outlet
adidas nmd r1
canada goose outlet
ray bans
tiffany and co
adidas nmd
oakley sunglasses
louis vuitton borse
designer handbags
coach outlet store
uggs outlet
pandora charms
ugg outlet
ugg outlet
adidas stan smith
ugg outlet
oakley sunglasses outlet
lebron james shoes
qiujie: 2016912qiujie
discount oakley sunglasses
ralph lauren outlet
coach outlet
birkenstock sandals
ugg boots outlet
ysl outlet
nfl jerseys
ugg boots
christian louboutin
true religion outlet
oakley vault
uggs australia
coach outlet
gucci outlet
the north face
timberland boots
pandora charms
true religion outlet
basketball shoes
fitflops
birkenstock sandals
gucci borse
cheap ray bans
michael kors outlet
yeezy boost 350 balck
cheap jordans
timberlands
nike trainers
yeezy boost 350
true religion
kevin durant shoes
the north face
ugg boots
ugg australia
ugg outlet
louis vuitton factory outlet
ray ban sunglasses
nike free flyknit
omega replica watches
louis vuitton handbags
ugg australia outlet
ugg outlet
uggs
michael kors handbags
michael kors handbags outlet
yeezy boost 350
reebok
ugg boots
cheap nhl jerseys
coach outlet
bottega veneta outlet
air max 2016
polo ralph lauren outlet
ralph lauren outlet
canada goose uk
ralph lauren outlet
true religion jeans
michael kors purses
canada goose pas cher
prada outlet store
michael kors outlet
ray ban sunglasses discount
louis vuitton outlet
ray bans
michael kors handbags outlet
nike free flyknit 4.0
coach outlet
uggs on sale
lacoste shoes
true religion jeans
canada goose outlet
converse sneakers
coach factory outlet
oakley sunglasses
michael kors outlet clearance
nike tn
doudoune moncler
cheap oakley sunglasses
coach outlet online
bottega veneta handbags
nike air max
puma shoes
canada goose outlet online
fitflops sale clearance
nike free flyknit
polo ralph lauren outlet online
ysl outlet online
louis vuitton outlet
coach outlet
coach outlet store
ugg boots
designer bags
coach outlet online coach factory outlet
moncler outlet
coach outlet online
chi flat iron
kd 9 shoes
michael kors outlet clearance
lacoste outlet
ugg boots canada
valentino shoes on sale
gucci outlet
christian louboutin shoes
michael kors outlet
air force 1
kobe 9
oakley vault sunglasses
converse uk
mcm outlet
ugg australia
birkenstock sandals
ugg boots
gucci handbags
michael kors outlet
converse trainers
uggs
hollister sale
ray ban sunglasses
ugg boots canada
ralph lauren pas cher
ecco shoes
yeezy boost
nike store
ugg boots
nike huarache trainers
michael kors outlet clearance
michael kors outlet
ralph lauren outlet
cheap jordans
michael kors outlet
ugg boots
rolex replica watches
cheap uggs
hermes outlet
polo ralph lauren
reebok shoes
adidas superstars
burberry outlet
coach factory outlet
adidas trainers
coach outlet
birkenstock sandals
cheap jordan shoes
polo outlet
cheap uggs
louis vuitton outlet
cheap nfl jerseys
ray ban sunglasses discount
oakley vault
louboutin uk
discount ray ban sunglasses
oakley sunglasses
coach outlet online
michael kors outlet
supra shoes
rolex submariner
rolex replica watches
tory burch outlet
uggs for kids
true religion jeans
levis jeans
polo outlet
michael kors bags
kate spade outlet
louis vuitton handbags outlet
michael kors outlet online
cheap ugg sale
coach factory outlet
michael kors outlet
cheap uggs
michael kors handbags
canada goose jackets
skechers shoes
vans shoes
coach purses
louis vuitton factory outlet
coach outlet
uggs sale
michael kors watches
cheap nike shoes
uggs outlet
michael kors outlet
canada goose outlet online
ugg outlet
michael kors handbags
ugg boots
christian louboutin shoes
birkenstocks
pandora outlet
discount nike shoes
burberry outlet
fitflops clearance
cheap nba jerseys
nike cortez
jimmy choo shoes
tiffany and co jewelry
toms outlet
rolex replica watches
timberland outlet
pandora outlet
ghd flat iron
nike air max
louis vuitton outlet store
true religion jeans
coach factory outlet
moncler jackets
cheap ferragamo shoes
michael kors outlet clearance
coach factory outlet
true religion outlet
celine outlet
kate spade handbags
ray ban sunglasses
louis vuitton outlet online
michael kors outlet
ferragamo shoes
coach outlet
north face jackets
canada goose jackets
ugg outlet
ugg outlet
ugg sale
ugg boots
sac longchamp pliage
cheap oakleys
jordan pas cher
christian louboutin
rolex watches
ugg boots
abercrombie and fitch outlet
michael kors outlet
cheap ray ban sunglasses
ugg outlet
pandora uk
true religion jeans
pandora jewelry
fitflops
michael kors outlet
true religion outlet
oakley sunglasses
kate spade handbags
pandora charms
ugg boots
uggs outlet
louis vuitton outlet
canada goose jackets
ugg boots outlet
ed hardy outlet
buy red bottoms
versace shoes
louis vuitton outlet
mont blanc pens
canada goose
uggs on sale
rolex watches
uggs
ugg outlet
nike air max
ugg boots sale
longchamp bags
coach outlet store online
rolex watches
jordan shoes
canada goose outlet
christian louboutin outlet
ralph lauren
birkenstocks
ugg boots
tiffany jewelry
michael kors handbags
nike air max shoes
canada gooses outlet
adidas gazelle
coach outlet store online clearances
rolex watches for sale
christian louboutin outlet
coach outlet
cheap ugg boots
polo outlet
polo outlet
ugg australia
abercrombie and fitch
louis vuitton bags
canada goose jackets
ugg outlet
reebok uk
moncler outlet
adidas nmd runner
kate spade
ray ban sunglasses outlet
coach outlet
true religion outlet
louis vuitton handbags
ugg outlet
hollister clothing
ed hardy uk
louis vuitton factory outlet
ugg outlet
cheap ray ban sunglasses
michael kors outlet store
cheap mlb jerseys
nike free run black
coach outlet
kobe shoes
polo ralph lauren
air max 90
adidas nmd
canada goose jackets
nike air force white
coach outlet
ugg boots
oakley sunglasses
air jordan retro
louis vuitton factory
michael kors handbags
michael kors outlet clearance
louis vuitton pas cher
adidas superstar
nike air max 90
canada goose jackets
cheap uggs
cheap jordans
oakley sunglasses outlet
hollister co
cheap oakley sunglasses
air jordans
oakley sunglasses
ralph lauren outlet
michael kors outlet
michael kors outlet online
michael kors bags
toms
ralph lauren outlet
canada goose outlet
air max 90
ugg pas cher
ray bans
cheap jerseys wholesale
timberland boots
moncler coats
omega watches
adidas nmd
michael kors outlet clearance
true religion
coach outlet online
micahel kors outlet online
kate spade outlet
michael kors outlet clearance
longchamp handbags
christian louboutin sale
michael kors outlet
burberry outlet
hermes belt
michael kors outlet clearance
hermes belt
toms shoes
michael kors outlet
tiffany and co jewelry
dolce and gabbana outlet
longchamp outlet
timberland boots
ugg sale
adidas shoes uk
nike blazer
armani watches
cheap jordans
michael kors outlet online
louboutin outlet
christian louboutin outlet
ugg outlet online
red bottom shoes
nike air max 90
polo ralph lauren outlet online
oakley sunglasses
nfl jerseys wholesale
louis vuitton outlet
adidas supercolor
converse shoes
ugg boots
hollister clothing
louboutin pas cher
ralph lauren outlet online
reebok pump
cheap jordans
louboutin
nike air force 1
tommy hilfiger outlet
birkenstocks
nike roshe run women
cheap ugg boots
ugg boots outlet
nike huarache white
ralph lauren outlet
birkenstock sandals
polo ralph lauren
prada outlet
ray ban sunglasses
ugg outlet
moncler jackets
celine outlet store
burberry sale
valentino shoes
ugg boots on sale
nike air max sale
chaussure louboutin
longchamp outlet
moncler outlet
christian louboutin outlet
uggs sale
ghd hair straighteners
oakley sunglasses outlet
nike cortez red
louis vuitton handbags
mont blanc outlet
vans sk8 hi
cheap uggs
burberry sale
tiffany and co
nike free flyknit 4.0
lebron james sneakers
air jordan uk
nba jerseys
coach outlet
fitflops
coach factory outlet
christian louboutin shoes
burberry outlet online
uggs
mlb jerseys
canada goose parka
polo ralph lauren
christian louboutin
birkenstock
michael kors handbags
north face jackets
ugg australia
birkenstock sheos
jimmy choo outlet
michael kors outlet clearance
hugo boss outlet
babyliss pro
nike free run
moncler jackets
louis vuitton outlet
yeezy boost 350
coach outlet
adidas nmd r1
canada goose outlet
ray bans
tiffany and co
adidas nmd
oakley sunglasses
louis vuitton borse
designer handbags
coach outlet store
uggs outlet
pandora charms
ugg outlet
ugg outlet
adidas stan smith
ugg outlet
oakley sunglasses outlet
lebron james shoes

Эта тема на forum.dklab.ru