gpt4 book ai didi

php - WAMP : start mysql through PHP and Batch file

转载 作者:行者123 更新时间:2023-11-29 01:53:11 25 4
gpt4 key购买 nike

如何通过PHP代码在exec()或popen()中调用批处理文件来启动mysql服务器?

我正在使用 wampserver 3 64 位。

最佳答案

对于 WAMPSERVER

开始:

exec("NET START wampmysqld64");

停止:

exec("NET STOP wampmysqld64");

关于php - WAMP : start mysql through PHP and Batch file,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/35788486/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com