MacOS X install MySQL

Source: Internet
Author: User
Tags mysql version

Note:

System Version ------ MacOS X 10.6.8

MySQL version ---- the latest official website version 5.5.19

1, from the MySQL official website download installation file from the MySQL official website download Installation File, download entry: http://www.mysql.com/downloads/mirror.php? Id = 404973 # mirrors2. compress the file and install it. decompress the downloaded DMG image file, which contains four files.

Readme.txt Installation instructions

Mysql-5.5.19-osx10.6-x86_64.pkg Database Server (first install it)

MySQL. prefpane system preference settings component, add MySQL to the preference settings panel mysqlstartupitem. PKG boot automatically run 3, add configuration file run the following command to add a configuration file sudo CP/usr/local/MySQL/support-files/my-large.cnf/etc/My. run the following command to change the MySQL password to 111111 playermatomacbook :~ Player $/usr/local/MySQL/bin/MySQL-u rootmysql> Use mysqlmysql> Update user SET Password = PASSWORD ("111111") where user = 'root '; mysql> flush privileges; mysql> quit
Related Article

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.