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

By Iris
at 2004-12-08T19:44
at 2004-12-08T19:44
Table of Contents
由於我的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來做這些動作呢???
謝謝
--
每次當掉就會跑到一個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來做這些動作呢???
謝謝
--
Tags:
BBS
All Comments
Related Posts
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
vi顯示中文字的問題

By Jack
at 2004-12-06T11:48
at 2004-12-06T11:48