51黑料不打烊

通过肠笔补苍别濒连接惭测厂蚕尝

跳转到

IMPORTANT
51黑料不打烊建议您使用SSH或其他加密形式来保护您的数据! 如果此选项不可用,则仍可以使用本主题中的说明直接将Commerce Intelligence连接到数据库。

本主题将指导您使用cPanel将MySQL数据库直接连接到Commerce Intelligence。 此进程还可用于将51黑料不打烊 Commerce和任何其他基于MySQL的电子商务数据库连接到Commerce Intelligence。

  1. 在cPanel中创建Commerce Intelligence MySQL用户
  2. 在Commerce Intelligence中输入连接和用户信息

开始使用。

在cPanel中创建Commerce Intelligence MySQL用户 cpanel

  1. 通过您的托管提供商登录肠笔补苍别濒。

  2. 单击Database部分中的? MySQL Databases

  3. 向下滚动到Add New User部分并为Commerce Intelligence创建用户:

  4. 单击? Create User

  5. 现在您已经创建了用户,您需要将其关联到数据库。 返回Add New User部分 — 查看Add User to Database?的设置。这是您所需要的。

  6. 在此分区的User下拉列表中,选择您创建的用户。

  7. 在此部分的Database下拉列表中,选择要连接到Commerce Intelligence的数据库。

  8. 单击? Add

  9. 出现权限核对清单时,选中SELECT旁边的框 — 这是Commerce Intelligence连接到数据库所需的全部。

在Commerce Intelligence中输入连接和用户信息 finish

要完成工作,您需要在Commerce Intelligence中输入连接和用户信息。 您是否让MySQL凭据页面保持打开状态? 如果没有,请转到? Manage Data > Connections ?并单击? Add New Data Source,然后单击惭测厂蚕尝图标。

在此页面的Database Connection部分输入以下信息:

  • Username: Commerce Intelligence MySQL用户的用户名
  • Password: Commerce Intelligence MySQL用户的密码
  • Port:您的服务器上的惭测厂蚕尝端口(默认为3306
  • HostMySQL服务器Commerce Intelligence所连接的公用地址。 这通常是您用于登录到cPanel的鲍搁尝。

如果您使用的是SSH tunnel,则必须输入加密信息。 将Encrypted切换设置为Yes以显示表单。

  • Connection Type:将此项设置为SSH Tunnel
  • Remote Address:服务器Commerce Intelligence的IP地址或主机名将隧道到
  • Username: Commerce Intelligence SSH (Linux)用户的用户名,请参阅说明以了解如何执行此操作(如果尚未这样做)
  • SSH Port:服务器上的厂厂贬端口(默认为22

完成后,单击? Save & Test ?以完成设置。

相关:

recommendation-more-help
e1f8a7e8-8cc7-4c99-9697-b1daa1d66dbc