Installation of Mysql5.6 under Windows

Source: Internet
Author: User
Tags mysql client

The contents are as follows

[Mysqld]

Loose-default-character-set = UTF8


Basedir = e:/mysql-5.6.11-winx64


DataDir = E:/mysql-5.6.11-winx64/data


Port = 3306


Sql_mode=no_engine_substitution,strict_trans_tables


Character_set_server = UTF8


[Client]


Loose-default-character-set = UTF8

3. Open a command prompt, enter the%mysql_home%/bin directory, and execute the command: Mysqld-install install MYSQL to the Windows service. After successful execution, you will be prompted: D:\mysql-5.6.30-winx64\bin>service successfullyinstalled.

If you want to uninstall the Service execution command: Mysqld-remove.

Then execute at the command prompt: net start MySQL can start MySQL, stop service input command: net stop MySQL. If you want to set MySQL to start automatically, you can set it up in the Start menu, run, enter Service.msc to open service management.


4. Change the root user password


Run D:\mysql-5.6.30-winx64\bin/mysql.exe


D:>mysql–uroot


Mysql>show databases;


Mysql>use MySQL;


Mysql>update user SET Password=password ("123456") WHERE user= ' root ';


Mysql>flush privileges; "Attention must not forget this sentence, otherwise the password change cannot take effect"


Mysql>quit




5 Installing the MySQL client


Unzip navicat Premium rar file, point file-New connection-mysql


This article is from the "one dish can no longer dish of the Little rookie" blog, please be sure to keep this source http://liliming.blog.51cto.com/10925034/1795791

Installation of Mysql5.6 under Windows

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.