Hi,
Is it possible, (and so how to), to start Mysql server manually for ExeOutPut ?
Thank-you,
Gilbert
Hi,
Is it possible, (and so how to), to start Mysql server manually for ExeOutPut ?
Thank-you,
Gilbert
Sure, use this HEScript 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;
Thank-you, I am going to try right now !
What about closing mysql connection manullay ?
Itâs working, now I only need the closing HEScript code please !
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.
It works to, but when i try to start mysql again it doesnât work !
Strange. Have you checked that after running the 2nd code, the mysqld.exe daemon process is closed?
Yes, it is closed !
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.
Error in script:
Unknow identifier or variable is not declared: âSW_SHOWâ
Try SW_SHOWNORMAL instead
First time start, dos windows displayed.
Second time, after closing mysql, doenât show nothing !
Thank-you anyway !
same problem here sir.
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.
You said you have a problem restarting the server one more time?
yeah even if i check or uncheck the
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).
That means the server had a fault for restarting. Please check the logs in the âmysqlâ subfolder.