MAC configuration Java version----MySQL database permissions settings---OpenFire

Source: Internet
Author: User

    1. Java-version
    • Show Java version
    1. sudo su-root
    • Switch identities
    1. Cd/usr/local/openfire
    • Enter the OpenFire directory
    1. CD bin/
    • Enter bin
    1. Vim openfire.sh ——— Modifying the Java path
    • Open openfire.sh-Configure Java Path
    1. PWD ——— "/system/library/frameworks/javavm.framework/home"
    • Show Table of Contents
    1. Cd/library/java/javavirtualmachines/--ls-l
    • Go to Java Directory-copy path
    1. vim/usr/local/openfire/bin/openfire.sh--Configuring the Java version here
    • Add a copy of the path to this location

---------------------------------------------------------------------------------------------------------------

    1. Mysql-u root-p123456
    2. Select User,host from Mysql.user
    3. Show grants for [email protected] '% ';
    4. | GRANT all privileges on * * to ' root ' @ '% ' identified by PASSWORD ' *6bb4837eb74329105ee4568dda7dc67ed2ca2ad9 ' |
    5. show databases;

MAC configuration Java version----MySQL database permissions settings---OpenFire

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.