search
HomeDatabaseMysql Tutorialmysql5.7.17 installation tutorial with solutions to the problem that the MySQL service cannot be started (pictures and text)

This article mainly introduces the mysql 5.7.17 installation tutorial in detail, and shares with you the solution to the problem that the MySQL service cannot be started. It has certain reference value for those who are interested. You can refer to it

For .net development, Microsoft's sql server database is relatively familiar. As for MySQL and Oracle, they have been used before, but they are all very familiar, so...

Preparation phase

Download mysql file

mysql5.7.17 installation tutorial with solutions to the problem that the MySQL service cannot be started (pictures and text)

mysql5.7.17 installation tutorial with solutions to the problem that the MySQL service cannot be started (pictures and text)

mysql5.7.17 installation tutorial with solutions to the problem that the MySQL service cannot be started (pictures and text)

mysql5.7.17 installation tutorial with solutions to the problem that the MySQL service cannot be started (pictures and text)

## Note: The above download is a compressed package installation method.

Installation

The specific installation is as follows :

(1)Extract mysql-5.7.17-winx64.zip to the E:\MySQL\ file, open the command prompt and run as administrator, cd to E:\MySQL\mysql-5.7. The

command under 17-winx64\bin is:

cd /d E:\MySQL\mysql-5.7.17-winx64\bin

mysql5.7.17 installation tutorial with solutions to the problem that the MySQL service cannot be started (pictures and text)

(2)Install MySQL

mysqld install. MySQL is installed successfully after running the command.

mysql5.7.17 installation tutorial with solutions to the problem that the MySQL service cannot be started (pictures and text)

(3) Start the MySQL service.

net start mysql will start the MySQL service. It is worth noting that the default service name of MySQL installed with the command is mysql under the Windows system, and the default password is empty.

mysql5.7.17 installation tutorial with solutions to the problem that the MySQL service cannot be started (pictures and text)

#You can clearly see that the "MySQL service cannot be started" error appears here.

The solution is as follows:

First download the mysql-5.6.35-winx64 version zip file from the official website, and then put mysql-5.6.35 -Copy the entire data file under winx64.zip to mysql-5.7.17-winx64, and repeat step 3.

mysql5.7.17 installation tutorial with solutions to the problem that the MySQL service cannot be started (pictures and text)

(4) Configure environment variables

1), create a new MYSQL_HOME variable, and configure the value as: E:\MySQL\mysql-5.7.17-winx64

MYSQL_HOME: E:\MySQL\mysql-5.7.17-winx64

2), edit path

system variable, and add %MYSQL_HOME%\bin to the path variable. Configure the path environment variable. You can also not create a new MYSQL_HOME variable, but directly configure the bin in the MySQL installation directory to the path variable. Path: %MYSQL_HOME%\bin

mysql5.7.17 installation tutorial with solutions to the problem that the MySQL service cannot be started (pictures and text)mysql5.7.17 installation tutorial with solutions to the problem that the MySQL service cannot be started (pictures and text)

(5) Enter MySQL

mysql -uroot -p, the password is empty by default. "mysql>" is displayed to indicate entering MySQL.

(Method to set password: mysqladmin -u root -p password password.

Just exit. Remember that closing the cmd window directly will not exit. You must enter exit to exit)

Next, you can use T-SQL statements to perform various operations on the database. Database graphical management tools can also be used to manage the database.

mysql5.7.17 installation tutorial with solutions to the problem that the MySQL service cannot be started (pictures and text)

Use

Navicat for MySQL graphical interface tool to connect, open, use....

mysql5.7.17 installation tutorial with solutions to the problem that the MySQL service cannot be started (pictures and text)

The above is the detailed content of mysql5.7.17 installation tutorial with solutions to the problem that the MySQL service cannot be started (pictures and text). For more information, please follow other related articles on the PHP Chinese website!

Statement
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
mysql怎么替换换行符mysql怎么替换换行符Apr 18, 2022 pm 03:14 PM

在mysql中,可以利用char()和REPLACE()函数来替换换行符;REPLACE()函数可以用新字符串替换列中的换行符,而换行符可使用“char(13)”来表示,语法为“replace(字段名,char(13),'新字符串') ”。

print spooler无法启动怎么办print spooler无法启动怎么办Dec 13, 2023 am 10:03 AM

print spooler无法启动的解决办法:1、查看错误日志;2、检查驱动程序;3、服务修复;4、检查系统日志;5、重新安装打印软件;6、检查打印机连接;7、Windows更新;8、检查其他软件冲突;9、尝试以管理员身份运行;10、考虑其他软件冲突;11、考虑硬件问题;12、系统恢复;13、寻求专业帮助。详细介绍:1、查看错误日志,打开“事件查看器”,查看与打印相关错误等等。

mysql怎么将varchar转换为int类型mysql怎么将varchar转换为int类型May 12, 2022 pm 04:51 PM

转换方法:1、利用cast函数,语法“select * from 表名 order by cast(字段名 as SIGNED)”;2、利用“select * from 表名 order by CONVERT(字段名,SIGNED)”语句。

windows电脑无法启动怎么回事windows电脑无法启动怎么回事Feb 15, 2024 am 09:45 AM

电脑故障千奇百怪,其中最令人慌张的一定是无法开机。导致电脑无法开机的原因太多了,但线索却是最少,我们唯一知道的事实就是:什么都不起作用了。作为非专业维修人员,如果解决电脑无法开机的问题?老实说,小淙无法确切回答你的问题。但是,本文提供了一些常见且易于操作的方法,可以帮助你在电脑无法开机时找到正确的思路并排除故障。建议收藏本文,以备不时之需。以下方法同时适用于台式电脑、笔记本电脑和所有Windows系统。目录:1、基础检测(通电、连接问题等)2、听提示音(最正统检测方法)3、基本原则(避免检修时导

MySQL复制技术之异步复制和半同步复制MySQL复制技术之异步复制和半同步复制Apr 25, 2022 pm 07:21 PM

本篇文章给大家带来了关于mysql的相关知识,其中主要介绍了关于MySQL复制技术的相关问题,包括了异步复制、半同步复制等等内容,下面一起来看一下,希望对大家有帮助。

iis无法启动怎么办iis无法启动怎么办Dec 06, 2023 pm 05:13 PM

iis无法启动的解决办法:1、检查系统文件完整性;2、检查端口占用情况;3、启动相关服务;4、重置IIS配置;5、重新安装IIS;6、检查事件查看器日志;7、定期维护和更新;8、备份重要数据。详细介绍:1、检查系统文件完整性,运行系统文件检查工具,检查系统文件的完整性,如果发现系统文件存在问题,可以尝试修复或替换受损的文件;2、检查端口占用情况,在Windows命令提示符方法。

deepin v20安装后无法启动怎么办 deepinv20无法启动解决方法deepin v20安装后无法启动怎么办 deepinv20无法启动解决方法Mar 01, 2024 am 11:55 AM

最近有人在使用deepinv20时,出现了无法启动的问题,每次打开电脑进入系统就会出现如图所示的错误代码界面,不知道应该如何解决,这时候我们可以通过尝试切换内核或者在Linux行中加入内容的方法来解决。deepinv20无法启动怎么办:方法一:1、如果我们使用了新电脑,可能会无法兼容deepin老版本的内核。2、这时候我们可以尝试更换最新的系统内核,或者直接升级系统版本来解决。方法二:1、重启电脑,开机时连按“F1”进入bios设置。2、然后在boot选项下,找到“se

mysql怎么判断是否是数字类型mysql怎么判断是否是数字类型May 16, 2022 am 10:09 AM

在mysql中,可以利用REGEXP运算符判断数据是否是数字类型,语法为“String REGEXP '[^0-9.]'”;该运算符是正则表达式的缩写,若数据字符中含有数字时,返回的结果是true,反之返回的结果是false。

See all articles

Hot AI Tools

Undresser.AI Undress

Undresser.AI Undress

AI-powered app for creating realistic nude photos

AI Clothes Remover

AI Clothes Remover

Online AI tool for removing clothes from photos.

Undress AI Tool

Undress AI Tool

Undress images for free

Clothoff.io

Clothoff.io

AI clothes remover

AI Hentai Generator

AI Hentai Generator

Generate AI Hentai for free.

Hot Article

R.E.P.O. Energy Crystals Explained and What They Do (Yellow Crystal)
2 weeks agoBy尊渡假赌尊渡假赌尊渡假赌
R.E.P.O. Best Graphic Settings
2 weeks agoBy尊渡假赌尊渡假赌尊渡假赌
R.E.P.O. How to Fix Audio if You Can't Hear Anyone
2 weeks agoBy尊渡假赌尊渡假赌尊渡假赌

Hot Tools

Dreamweaver Mac version

Dreamweaver Mac version

Visual web development tools

mPDF

mPDF

mPDF is a PHP library that can generate PDF files from UTF-8 encoded HTML. The original author, Ian Back, wrote mPDF to output PDF files "on the fly" from his website and handle different languages. It is slower than original scripts like HTML2FPDF and produces larger files when using Unicode fonts, but supports CSS styles etc. and has a lot of enhancements. Supports almost all languages, including RTL (Arabic and Hebrew) and CJK (Chinese, Japanese and Korean). Supports nested block-level elements (such as P, DIV),

PhpStorm Mac version

PhpStorm Mac version

The latest (2018.2.1) professional PHP integrated development tool

SublimeText3 Chinese version

SublimeText3 Chinese version

Chinese version, very easy to use

MinGW - Minimalist GNU for Windows

MinGW - Minimalist GNU for Windows

This project is in the process of being migrated to osdn.net/projects/mingw, you can continue to follow us there. MinGW: A native Windows port of the GNU Compiler Collection (GCC), freely distributable import libraries and header files for building native Windows applications; includes extensions to the MSVC runtime to support C99 functionality. All MinGW software can run on 64-bit Windows platforms.