On the Windows platform, MySQL server can run as a named service managed by the operating system and be configured to start up automatically when Windows starts. 在Windows平台上,MySQL服务器可以作为操作系统管理的命名服务运行,并配置为在Windows启动时自动启动。Alternatively, you can configure MySQL server to run as an executable program that requires manual configuration.或者,您可以将MySQL服务器配置为作为需要手动配置的可执行程序运行。
Configure MySQL server as a Windows service (Selected by default.)将MySQL服务器配置为Windows服务(默认选择。)
When the default configuration option is selected, you can also select the following:选择默认配置选项后,您还可以选择以下内容:
Start the MySQL Server at System Startup在系统启动时启动MySQL Server
When selected (default), the service startup type is set to Automatic; otherwise, the startup type is set to Manual.选中时(默认),服务启动类型设置为“自动”;否则,启动类型设置为手动。
Run Windows Service as用下述身份运行Windows服务
When Standard System Account is selected (default), the service logs on as Network Service.选择“标准系统帐户”(默认设置)后,该服务将以网络服务的身份登录。
The Custom User option must have privileges to log on to Microsoft Windows as a service. The button will be disabled until this user is configured with the required privileges.“自定义用户”选项必须具有作为服务登录到Microsoft Windows的权限。“下一步”按钮将被禁用,直到该用户被配置为具有所需的权限。
A custom user account is configured in Windows by searching for "local security policy" in the Start menu. 通过在“开始”菜单中搜索“本地安全策略”,可以在Windows中配置自定义用户帐户。In the Local Security Policy window, select Local Policies, User Rights Assignment, and then Log On As A Service to open the property dialog. 在“本地安全策略”窗口中,选择“本地策略”、“用户权限分配”,然后选择“作为服务登录”以打开属性对话框。Click 单击“添加用户或组”以添加自定义用户,然后在每个对话框中单击“确定”以保存更改。 to add the custom user and then click in each dialog to save the changes.
Deselect the Windows Service option取消选择Windows服务选项