MySQL Installation and Configuration

Source: Internet
Author: User

<01> Download the MySQL to D drive and rename the folder to MySQL

<02> Console Status Enter Mysql/bin directory input mysqld-install carriage return installation Service

<03> new Data directory under MySQL directory, console input command mysqld--initialize

<04> find Mydefault.ini in MySQL directory to edit under [mysqld], add skip-grant-tables, and modify the file name to My.ini

<05> console input net start MySQL Enter start service

<06> Console input mysqld-u root-p create root account

<07> console input Mysql-u root-p return

<08> Ignore password direct return

<09> console input Use MySQL

<10> console Input Update mysql.user set Authentication_string=password (' New password ') where user= ' root ' and Host = ' localhost ';

<11> console input Mysql>flush privileges;

<12> Delete Skip-grant-tables added to My.ini

<13> Restart MySQL

<14> common ways to change passwords

MySQL Installation and Configuration

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.