无法遵循Openfire服务器Quide的外部数据库(MySQL) [英] Cannot follow external database(MySQL) of openfire server quide

查看:124
本文介绍了无法遵循Openfire服务器Quide的外部数据库(MySQL)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

  1. 我有在大学服务器上创建的MySQL数据库
  2. 我尝试开发可通过XMPP协议从移动设备发送味精以将数据保留在我的数据库服务器上(从1开始)的android应用程序
  3. 这时候,我已经下载了openfire 3.7.0.dmg(MAC OS X),然后尝试在笔记本电脑上设置服务器

我的问题是我无法遵循数据库安装指南发生错误:我的终端上没有mysqladmin命令.因此,我无法为openfire创建表.我需要在笔记本电脑上安装MySQL吗?

My problem is I cannot follow Database Installation Guide the error occurred: Does not have mysqladmin command at my Terminal. So, I cannot create table for openfire. Should I need to install MySQL on my laptop ?

此外,我对这条语句的[YOUR_HOST]感到很困惑:

Moreover, I pretty much confuse with [YOUR_HOST] of this statement :

jdbc:mysql://[您的主机]/[数据库名称]

jdbc:mysql://[YOUR_HOST]/[DATABASE_NAME]

我不知道这是什么吗?应该是本地主机还是什么?

I don't know what is it? should be localhost or anything?

任何人都可以帮助我吗?非常感谢

Anyone can help me ? Thank you so much

推荐答案

您需要在有权访问的一台计算机上安装MySQL.如果要在Mac上安装它,则可以直接从 mysql.com 下载. ,或者您可以使用 Homebrew 之类的包管理器进行安装.

You need to have MySQL installed on one computer you have access to. If you want to install it on your Mac, you can either download it directly from mysql.com, or you could install it using a package manager like Homebrew.

接下来,确保您的MySQL安装程序可以侦听TCP上的连接;有一个问题排查指南那个.

Next, make sure your MySQL install can listen for connections over TCP; there's a troubleshooting guide for that.

接下来,使用运行MySQL服务器的计算机的名称代替[YOUR_HOST].如果它与OpenFire在同一台计算机上运行,​​则可以使用localhost.

Next, use the name of the machine your MySQL server is running on in place of [YOUR_HOST]. If it's running on the same machine as OpenFire, you can use localhost.

这篇关于无法遵循Openfire服务器Quide的外部数据库(MySQL)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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