开发者

How to get PID file in MYSQL

开发者 https://www.devze.com 2023-03-01 23:45 出处:网络
How to get location of mysql PID file using API in windows ? I am trying to get mysql PID file. I have written code

How to get location of mysql PID file using API in windows ?

I am trying to get mysql PID file.

I have written code

select @@global.pid_file

It is working in Linux. But it is not working in Windows. How to fix t开发者_Python百科his ?


SHOW VARIABLES LIKE 'pid_file'

If it doesn't work I guess it just doesn't exist on Windows systems.

Edit:

Actually, after I checked it turns out that this variable is only used on Unix-like systems, so it doesn't exist on Windows.

0

精彩评论

暂无评论...
验证码 换一张
取 消