MySQL 5.6.23 Installation and Configuration Environment Variables Tutorial

MySQL 5.6.23 Installation and Configuration Environment Variables Tutorial

This article shares the installation and configuration tutorial of MySQL 5.6.23 for your reference. The specific contents are as follows

1 Download mysql

2 Install MySQL

3 Configure environment variables

Open My Computer->Properties->Advanced->Environment Variables, select PATH in System Variables, and add the path of your mysql bin folder after it, such as:

4 Testing

The above interface appears, indicating that the configuration is successful.

You can also enter "net start mysql" to start mysql. The above interface appears, indicating that the startup is successful. Then enter "mysql -hlocalhost -uroot -proot" (the "-h" is your IP address, the "-u" is your username, and the "-p" is your password. If there is no password, you can write "mysql -hlocalhost -uroot -p"), then click Enter. The following interface appears, indicating that the database connection is successful.

5 If the service is not started, you need to start the service

one,

1). Startup method

1. Start using service: service mysqld start

2. Start using the mysqld script: /etc/init.d/mysqld start

3. Start with safe_mysqld: safe_mysqld&

2) Stop

1. Start using service: service mysqld stop

2. Start using the mysqld script: /etc/init.d/mysqld stop

3.mysqladmin shutdown

3) Restart

1. Start using service: service mysqld restart

2. Start using the mysqld script: /etc/init.d/mysqld restart

4). Check the running status

1. Start using service: service mysql status

2. Start using the mysqld script: /init.d/mysqld status

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:
  • MySQL 8.0.12 installation and environment variable configuration tutorial under win10
  • How to configure environment variables after installing mysql5.7 database
  • The latest version of MySQL 8.0.22 download and installation super detailed tutorial (Windows 64 bit)
  • MySQL 8.0.22.0 download, installation and configuration method graphic tutorial
  • MySQL 8.0.22 download, installation and configuration method graphic tutorial
  • Detailed tutorial for downloading, installing and configuring MySQL 5.7.27
  • mysql8.0.20 download and installation and problems encountered (illustration and text)
  • MySQL 5.6.37 (zip) download installation configuration graphic tutorial
  • MySQL 5.7.18 Green Edition Download and Installation Tutorial
  • MySQL 8.0.15 download and installation detailed tutorial is a must for novices!
  • MySQL 8.0.13 download and installation tutorial with pictures and text
  • Summary of common problems in downloading and installing MySQL 5.7 on Win7 64-bit
  • Detailed graphic instructions for downloading and installing the unzipped version of MySQL 5.7.18 and starting the MySQL service
  • MySQL 5.7 Service Download and Installation Graphical Tutorial (Classic Edition)
  • MySQL 5.7.14 download, installation, configuration and use detailed tutorial
  • MySQL msi version download and installation detailed graphic tutorial for beginners

<<:  Detailed explanation of Linux one-line command to process batch files

>>:  How to implement a multi-terminal bridging platform based on websocket in JS

Recommend

Vue uses Amap to realize city positioning

This article shares the specific code of Vue usin...

Basic usage of wget command under Linux

Table of contents Preface 1. Download a single fi...

Vue implements the shake function (compatible with ios13.3 and above)

Recently, I made a function similar to shake, usi...

Detailed graphic tutorial on how to enable remote secure access with Docker

1. Edit the docker.service file vi /usr/lib/syste...

Docker sets up port mapping, but cannot access the solution

#docker ps check, all ports are mapped CONTAINER ...

MySQL common statements for viewing transactions and locks

Some common statements for viewing transactions a...

A brief discussion on the performance issues of MySQL paging limit

MySQL paging queries are usually implemented thro...

Vue large screen display adaptation method

This article example shares the specific code for...

CSS3 creates 3D cube loading effects

Brief Description This is a CSS3 cool 3D cube pre...

MySQL index cardinality concept and usage examples

This article uses examples to explain the concept...

Detailed explanation of the background-position percentage principle

When I was helping someone adjust the code today,...

Vue3+TypeScript encapsulates axios and implements request calls

No way, no way, it turns out that there are peopl...

How to build a SOLO personal blog from scratch using Docker

Table of contents 1. Environmental Preparation 2....

Explaining immutable values ​​in React

Table of contents What are immutable values? Why ...

How to solve the DOS window garbled problem in MySQL

The garbled code problem is as follows: The reaso...