MySQL 5.6.36 Windows x64 version installation tutorial detailed

MySQL 5.6.36 Windows x64 version installation tutorial detailed

1. Target environment

Windows 7 64-bit

2. Materials

(1) VC++2010 release package (64-bit)

(2) MySQL 5.6.36 Windows x64 version (non-MSI, free version available from the official website)

(3) EditPlus (optional)

3. Basic operations

Some operations in this article need to be performed as an administrator + command line.

4. Steps

(1) (Decompress to the current folder) Decompress the installation package and edit the my-default.ini file, which mainly contains two items:

①basedir is the mysql base folder, such as: C:\mysql-5.6.36-winx64

②datadir, which is the mysql data folder, such as: C:\mysql-5.6.36-winx64\data

(2) Install the 64-bit version of VC++2010

(3) Install MySQL service

Use the command line (run as administrator) to execute mysqld.exe in the bin folder of the mysql installation folder: mysqld -install

If the machine has not installed the MySQL database, it will prompt OK, otherwise it will prompt an error that the service already exists. You need to delete the installed service first.

(4) [Optional] Delete the existing MySQL service

sc delete mysql (administrator privileges required), then install the service (step 3)

(5) Start the service

 net start mysql

(Stop the service: net stop mysql)

(6) Set the root user's password

mysqladmin -u root -p password (the password here is used to indicate the type of administration, not the specific password to be set)

①Enter the original password first. If the original password is empty, press Enter directly.

② and ③ enter the new password

5. Others

To modify related configurations or operations, you need to restart the service (stop and then restart) to make it effective.

① Allow remote host access

Log in to the MySQL database (system database) locally on the server, enter the user table of the MySQL database, and add a new record. Except for the host being %, all other contents are the same as the record with the password in this table (including the password).

Just stop and start the mysql service.

The above is the detailed installation tutorial of MySQL 5.6.36 Windows x64 version introduced by the editor. I hope it will be helpful to everyone. If you have any questions, please leave me a message and the editor will reply to you in time. I would also like to thank everyone for their support of the 123WORDPRESS.COM website!

You may also be interested in:
  • Problems encountered when installing mysql 5.7.9 winx64 on windows
  • Install MySQL 5.7.5 m15 winx64 in Windows with noinstall (recommended)
  • Solution to catastrophic failure of windows6.1-KB958488-V6001-x64 installed in Win2008 R2 with .NET Framework 4
  • Windows Vista Simplified Chinese Version X64 Version Original Image Download
  • Windows Server 2003 Service Pack 2 for x86 & x64 released
  • Window environment configuration Mysql 5.7.21 windowx64.zip free installation version tutorial detailed explanation

<<:  Can Docker become the next "Linux"?

>>:  An article to understand Linux disks and disk partitions

Recommend

Docker core and specific use of installation

1. What is Docker? (1) Docker is an open source t...

Can asynchrony in JavaScript save await?

I knew before that to synchronously obtain the re...

How to limit the number of records in a table in MySQL

Table of contents 1. Trigger Solution 2. Partitio...

MySQL operations: JSON data type operations

In the previous article, we introduced the detail...

Javascript implements simple navigation bar

This article shares the specific code of Javascri...

Examples of using HTML list tags dl, ul, ol

Copy code The code is as follows: <!-- List ta...

How to prevent Flash from covering HTML div elements

Today when I was writing a flash advertising code,...

CSS3 to achieve menu hover effect

Result: html <nav id="nav-1"> <...

Summary of ways to implement single sign-on in Vue

The project has been suspended recently, and the ...

How to enter and exit the Docker container

1 Start the Docker service First you need to know...

Alibaba Cloud Ubuntu 16.04 builds IPSec service

Introduction to IPSec IPSec (Internet Protocol Se...

HTML+CSS to achieve cyberpunk style button

First look at the effect: Preface: I came up with...

MySQL 5.7 zip archive version installation tutorial

This article shares the installation tutorial of ...

react+antd.3x implements ip input box

This article shares the specific code of react+an...