Mysql manualy started

Sure, use this HEScript code:
Code:
var
 ST: string;
begin
 ST := IncludeTrailingBackslash(ExtractFilePath(GetGlobalVar("HEPublicationFile","")));
 RunAProgram(ST + "mysql\bin\mysqld.exe", "--defaults-file=mysql\my.ini --standalone ", ST, false, SW_HIDE);
end;
 
Last edited:
Code:
ST := IncludeTrailingBackslash(ExtractFilePath(GetGlobalVar("HEPublicationFile","")));
SP := "ROOTPASSWORD";
RunAProgram(ST + "mysql\bin\mysqladmin.exe", "shutdown -u root -p" + SP, ST, false, SW_HIDE);
Replace ROOTPASSWORD by corresponding value.
 
Change the start code to:

IncludeTrailingBackslash(ExtractFilePath(GetGlobalVar(“HEPublicationFile”,""))); RunAProgram(ST + “mysql\bin\mysqld.exe”, "–defaults-file=mysql\my.ini --standalone ", ST, false, SW_SHOWNORMAL); end;

and see if there is any error displayed when you start MySQL.
 
Last edited:
gdgsupport said:
Change the start code to:

IncludeTrailingBackslash(ExtractFilePath(GetGlobalVar(“HEPublicationFile”,“”))); RunAProgram(ST + “mysql\bin\mysqld.exe”, "–defaults-file=mysql\my.ini --standalone ", ST, false, SW_SHOW ); end;

and see if there is any error displayed when you start MySQL.
Error in script:
Unknow identifier or variable is not declared: ‘SW_SHOW’
 
First time start, dos windows displayed.
Second time, after closing mysql, doen’t show nothing !

Thank-you anyway !
 
Is there now an update for this solution sir? b4, i dont have the type of problem like this until i adopt exeouput 2019. THe shutdown hescript code work! . but for start hescript code for mysql doesnt work.

to make it work i have to run the wamp server to run the database. please need for a salvation.
 
yeah even if i check or uncheck the
qqqwqwq

still having the error. even when uncheck and manually operate using hescript. The Shutdown hescript work! but start script doesn’t work!. even though it has a blink appearance of cmd( maybe its the mysqld).
 
Back
Top