mirror of
https://github.com/ok2cqr/cqrlog.git
synced 2024-09-21 18:37:17 +00:00
path to load mysqld from the same directory like cqrlog binary padded
This commit is contained in:
parent
f1b5c1764a
commit
bd0c93c66b
@ -3367,6 +3367,9 @@ var
|
|||||||
l : TStringList;
|
l : TStringList;
|
||||||
info : String;
|
info : String;
|
||||||
begin
|
begin
|
||||||
|
Writeln(ExtractFilePath(Paramstr(0)) + 'mysqld');
|
||||||
|
if FileExistsUTF8(ExtractFilePath(Paramstr(0)) + 'mysqld') then
|
||||||
|
Result := ExtractFilePath(Paramstr(0)) + 'mysqld';
|
||||||
if FileExistsUTF8('/usr/bin/mysqld') then
|
if FileExistsUTF8('/usr/bin/mysqld') then
|
||||||
Result := '/usr/bin/mysqld';
|
Result := '/usr/bin/mysqld';
|
||||||
if FileExistsUTF8('/usr/bin/mysqld_safe') then //Fedora
|
if FileExistsUTF8('/usr/bin/mysqld_safe') then //Fedora
|
||||||
|
Loading…
Reference in New Issue
Block a user