在Windows上查找mysql pid文件. [英] Finding the mysql pid file on windows.

查看:223
本文介绍了在Windows上查找mysql pid文件.的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,
我已经尝试了很多在mysql中找到pid_file的方法,但是找不到.我一直在尝试最后的日子.我也在my.ini中搜索了该内容.我得到了这个my.ini文件,但找不到pid_file.
请帮帮我!

提前谢谢!

.. 非常紧急的朋友......

hello all,
I have tried a lot to find the pid_file in the mysql, but I could not find it. I have been trying the last days. I also searched my.ini for that. I got this my.ini file, but could not find the pid_file.
Please help me!

Thanks in advance!

..it''s very urgent friends.........

推荐答案

在此处阅读手册: http://dev.mysql.com/doc/refman/5.0/en/instance -manager-command-options.html [ sc系统命令 [ ^ ].

最好的问候,

-MRB
Read the manual here: http://dev.mysql.com/doc/refman/5.0/en/instance-manager-command-options.html[^].

If your version does not have an instance manager (Version >= 5.5) you can try running MySql as a service. You can control the service using the sc system command[^].

Best Regards,

-MRB


在Windows下,MySQL的PID文件位于数据库根文件夹所在的位置.

在My.ini文件中:
Under Windows, the PID file for MySQL is located the same place where database root folder is.

In My.ini file:
#Path to the database root
datadir="C:/ProgramData/MySQL/MySQL Server 5.1/Data/"



在此路径下,有一个.PID文件,其中包含当前进程ID.文件名是计算机的名称.

但是,如果要控制的是MySQL是否正在运行.然后在Windows下使用"SC"命令工具.



Under this path, there is a .PID file, that holds the current process id. The filename is the name of the computer.

But if you what to control is MySQL is running or not. Then use the "SC" command tool under Windows.


这篇关于在Windows上查找mysql pid文件.的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆