mysql5.6.zip format compressed version installation graphic tutorial

mysql5.6.zip format compressed version installation graphic tutorial

Preface: MySQL is a relational database management system developed by Swedish MySQL AB and is currently a product of Oracle . The installation package provided by the official website has two formats, one is msi format and the other is zip format. However, many people download the installation package in zip format, but after unzipping it, they find that there is no setup.exe installation program, so today we will introduce the installation tutorial in zip format.

1. First download MySQL, go to this website to download, scroll down and click the text in the red circle

MySQL Community Server 5.6.38 appears, scroll down


Because my computer is 64-bit, I downloaded the second download address. If you don’t know whether your computer is 32-bit or 64-bit, you can right-click on my computer> Properties> and look at the system type to know how many bits your computer has.

After the download is complete, there will be a compressed package in the format of mysql-5.6.38-winx64.zip . After decompression, put the folder in your favorite location, then rename the folder to mysql5.6. The path of this tutorial is D:\Learning Software\mysql5.6, and copy the bin path in your mysql5.6, so copy it to D:\Learning Software\mysql5.6\bin

2. First configure the environment variables, right-click My Computer, click Properties>Advanced System Settings

Select Environment Variables in Advanced Options, double-click Path, click New, paste your bin path, and confirm all the way.

Then go to the mysql5.6 folder, find my-default.ini, right-click to open it with Notepad, and then save it as my.ini. Note: Do not change the encoding of the save as file to UTF-8. You must use the default encoding set ANSI and then save it. Reopen the my.ini file with Notepad and find these three lines

Modify them to

basedir = D:\Learning Software\mysql5.6
datadir = D:\Learning Software\mysql5.6\data
port = 3306

You can delete everything else, but you must keep [mysqld], as shown in the picture below, then save and close.

3. Enter cmd as an administrator. You must enter as an administrator, otherwise you will not have enough permissions. First, enter d: and press Enter. Then enter cd ./learning software/mysql5.6/bin and press Enter. You will enter the bin directory:

At this time, enter mysqld -install and press Enter. The installation is successful.

ps: mysqld -remove is to uninstall mysql.

Then start the service, enter net start mysql, the service starts successfully

ps:net stop mysql means stopping the service.

4. At this point, MySQL has been running successfully. You can now log in to MySQL and enter mysql -u root -p (there is no password for the first login, just press Enter), and the login is successful!

5.How to set a password?

First, enter exit to exit the MySQL database, then enter mysqladmin -u root -p password and press Enter. It will prompt Enter password: and press Enter at this time (because MySQL did not set a password at the beginning). It will then prompt New password: and enter the password you need to set and press Enter. It will then prompt Confirm new password: and ask you to enter the password again and press Enter. The password change is complete! !

Finally, enter mysql -u root -p to log in again.

The above is the full content of this article. I hope it will be helpful for everyone’s study. I also hope that everyone will support 123WORDPRESS.COM.

You may also be interested in:
  • Installation and configuration of MySQL 5.6 under Windows with screenshots and detailed instructions
  • MySQL 5.6 (Win7 64-bit) download, installation and configuration graphic tutorial
  • Graphic tutorial for installing mysql-5.6.4 under Linux
  • MySQL 5.6.17 Green Edition (Free Installation) Installation and Configuration Tutorial
  • MySQL 5.6 free installation version environment configuration graphic tutorial
  • Installation and Configuration Tutorial of MySQL 5.6.11 for Windows
  • Detailed version of the graphic tutorial for installing MySQL 5.6.17 under Linux
  • How to choose the installation path when installing the MySQL 5.5/5.6/5.7 and above installation packages
  • How to install and uninstall MySQL service under Windows (MySQL 5.6 zip decompression version installation tutorial)
  • Installation and configuration process of linux mysql5.6 version

<<:  Solution for VMware Workstation Pro not running on Windows

>>:  How to use js to determine whether a file is utf-8 encoded

Recommend

Detailed explanation of Truncate usage in MYSQL

This article guide: There are two ways to delete ...

How to use Docker+DockerCompose to encapsulate web applications

Table of contents Technology Stack Backend build ...

Creating Responsive Emails with Vue.js and MJML

MJML is a modern email tool that enables develope...

Two ways to specify the character set of the html page

1. Two ways to specify the character set of the h...

Solution to uninstalling Python and yum in CentOs system

Background of the accident: A few days ago, due t...

Tutorial on installing AutoFs mount service under Linux

Whether it is Samba service or NFS service, the m...

Analysis of product status in interactive design that cannot be ignored in design

In the process of product design, designers always...

Implementation of form submission in html

Form submission code 1. Source code analysis <...

mysql creates root users and ordinary users and modify and delete functions

Method 1: Use the SET PASSWORD command mysql -u r...

Detailed explanation of Linux DMA interface knowledge points

1. Two types of DMA mapping 1.1. Consistent DMA m...

JavaScript data visualization: ECharts map making

Table of contents Overview Precautions 1. Usage 2...

js data types and their judgment method examples

js data types Basic data types: number, string, b...

Several common CSS layouts (summary)

Summary This article will introduce the following...

Detailed explanation of the use of Join in Mysql

In the previous chapters, we have learned how to ...

Example of implementing the Graphql interface in Vue

Note: This article is about the basic knowledge p...