The IOS XMPP protocol implements the server-side configuration of the chat OpenFire (ii)

Source: Internet
Author: User

Tag: Database res connection track DMI exploits Lin Import error

This article is mainly about how to use the command line to properly configure MySQL.

First Open the terminal:

1. An alias for MySQL

Alias Mysql=/usr/local/mysql/bin/mysql

2. Create MySQL admin admin (for late login)

Alias Mysqladmin=/usr/local/mysql/bin/mysqladmin

3. Set the root account password

mysqladmin-u Root Password initial password

4. Connect to the database

Mysql-u root-p (Prompt to enter just password)

5. Create a OpenFire database

Create Database OpenFire;

6. Open the Database

Use OpenFire;

7. Open OpenFire Permissions

sudo chmod 777 /usr/local/openfire

8. Import the data table under openfire Resource directory Resources/database

Source/usr/local/openfire/resources/database/openfire_mysql.sql

9. Refresh Permissions

Flush privileges;

Note: To increase the number of connection errors encountered, just change localhost to 127.0.0.1.

The IOS XMPP protocol implements the server-side configuration of the chat OpenFire (ii)

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.