Xmpp-ios Instant Messaging Development Environment construction

Source: Internet
Author: User

I. Server Setup-install MySQL

1. Start the MySQL server

2. Set the MySQL command line

Open Terminal, enter:
sudo vi ~/.bash_profile

Then enter I, enter edit mode, enter:

# MySQLalias mysql= '/usr/local/mysql/bin/MySQL ' alias mysqladmin= '/usr/local/mysql/bin/  Mysqladmin '#  lsalias ls= ' Ls-g '

Press the ESC key to exit edit mode and enter:

: Wq

Save the changes and exit to restart the terminal program

3. Modify the MySQL administrator password

" 123456 "

4. Install MySQL management tool-- mysql-workbench

5. Establishing a database connection

5.1 Creating a new connection

5.2.1 Test established connection (failed)--restart MySQL service

5.2.2 Test established connection (success)--go to next step

5.3 Back to mysql-workbench main screen, double click

Xmpp-ios Instant Messaging Development Environment construction

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.