OpenFire for Mac Environment setup

Source: Internet
Author: User
Tags mysql download

Reference URL:

Http://www.jianshu.com/p/f28c4193e8fc

http://cdn0.jianshu.io/p/729fa512d08d

1, OpenFire Download:

https://igniterealtime.org/downloads/(Download DMG)

2. mysql Download:

http://dev.mysql.com/downloads/mysql/

Myworkbench Download:

http://dev.mysql.com/downloads/workbench/

3. Configure MySQL

Record password when installing 2016-06-13t06:08:05.901993z 1 [Note] A temporary password is generated for [email protected]: 7vq&4xb3s& Amp;el
If you lose this password, please consult the sections how to Reset the Root password in the MySQL reference manual.
There will be problems when you get into success


To uninstall MySQL:
Http://stackoverflow.com/questions/1436425/how-do-you-uninstall-mysql-from-mac-os-x


ERROR 1820 (HY000): Must reset your password using ALTER USER statement before executing this statement.
Solve:
http://stackoverflow.com/questions/33467337/ reset-mysql-root-password-using-alter-user-statement-after-install-on-mac/33511149

Run Mysqlalias Mysql=/usr/local/mysql/bin/mysqlalias mysqladmin=/usr/local/mysql/bin/mysqladminmysql-u root-p

Create a good OpenFire database

Create a database openfire named OpenFire $create; show all database lists $show databases; open a database (such as database: OpenFire) $use openfire; show all tables in this library $ Show tables;

4, Configuration OpenFire

Terminal input

sudo chmod-r 777/usr/local/openfire/binsudo sucd/usr/local/openfire/binexport java_home= '/usr/libexec/java_home ' echo $JAVA _home/library/java/javavirtualmachines/jdk1.8.0_51.jdk/contents/home//You can view the version by $java-version. openfire.sh

Configuration after the terminal is set up:

Http://www.cnblogs.com/xiaodao/archive/2013/04/05/3000554.html

Address: http://localhost:9090/index.jsp

Jdbc:mysql://localhost:3306/openfire?useunicode=true&characterencoding=utf-8&charactersetresults=utf-8

Encounter problems

Uninstalling OpenFire

sudo rm-rf/library/preferencepanes/openfire.prefpane?sudo rm-rf/usr/local/openfire?sudo rm-rf/library/ Launchdaemons/org.jivesoftware.openfire.plist

OpenFire for Mac Environment setup

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.