繁体   English   中英

是否可以不作为服务运行 MySQL

[英]Is it possible to run MySQL not as a service

我需要在没有管理员访问权限的 Windows 7 计算机上运行 WAMP 堆栈。 我设法让 Apache 不作为服务运行,我现在正试图让 MySQL 工作。 我试过 SQLite,但它在 Drupal 安装时崩溃。

有没有办法将 MySQL作为服务运行?

我发现这个解释让它在没有安装的情况下运行,但得到错误:

mysqld: Could not create or access the registry key needed for the MySQL
application to log to the Windows EventLog. Run the application with sufficient 
privileges once to create the key, add the key manually, or turn off logging
for that application

我知道这里还有另一个自我回答的问题,但解决方案实际上并不是我需要的。

有时,您的机器上已经有一个 MySQL 服务器在运行。 尝试以下步骤:

  1. 在搜索框中键入Services
  2. 找到 MySQL 服务并右键单击它以停止它。
  3. 尝试在 XAMPP 或 wampp 中连接您的服务器。

您需要以管理员身份运行 cmd 或 powershell 才能停止此错误。

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM