請問如何使用php重新啟動mysql - BBS

By Mary
at 2004-12-08T20:03
at 2004-12-08T20:03
Table of Contents
※ 引述《yamo1 (一個人的生活N)》之銘言:
: 由於我的mysql會當掉...
: 每次當掉就會跑到一個php的錯誤網頁
: 就想用php的語法來讓mysql從新起來
: 平常登入root後 用
: sh /usr/local/etc/rc.d/mysql-server.sh stop
: sh /usr/local/etc/rc.d/mysql-server.sh start
: 請問一下 怎麼樣用php來做這些動作呢???
: 謝謝
try "exec"
--
telnet 140.112.250.6 歡迎光臨 ~~暗黑帝國~~
倒站中!!!
--
: 由於我的mysql會當掉...
: 每次當掉就會跑到一個php的錯誤網頁
: 就想用php的語法來讓mysql從新起來
: 平常登入root後 用
: sh /usr/local/etc/rc.d/mysql-server.sh stop
: sh /usr/local/etc/rc.d/mysql-server.sh start
: 請問一下 怎麼樣用php來做這些動作呢???
: 謝謝
try "exec"
--
telnet 140.112.250.6 歡迎光臨 ~~暗黑帝國~~
倒站中!!!
--
Tags:
BBS
All Comments
Related Posts
請問如何使用php重新啟動mysql

By Iris
at 2004-12-08T19:44
at 2004-12-08T19:44
postfix+tls問題

By Tracy
at 2004-12-07T16:17
at 2004-12-07T16:17
硬碟規劃的問題

By Frederic
at 2004-12-06T22:42
at 2004-12-06T22:42
vi顯示中文字的問題

By Selena
at 2004-12-06T22:10
at 2004-12-06T22:10
MAIL只能寄特定信箱

By Odelette
at 2004-12-06T19:37
at 2004-12-06T19:37