Bashsudo /etc/init.d/mysql stop
Bashsudo /etc/init.d/mysql start
C++ (Qt) QString program = "bash"; QStringList arguments; arguments << "-c" << currentDir + "/start.sh"; int res = sh.execute(program, arguments);...................