Home Database Mysql Tutorial 如何解决MYSQL不能自动启动的问题?_MySQL

如何解决MYSQL不能自动启动的问题?_MySQL

Jun 01, 2016 pm 02:01 PM
Download and install how folder most

一、下载安装文件

  到MySQL官方网站找到ZIP文件

  二、解压文件,选择位置

  最好是放在某个盘的mysql文件夹下,这样比较容易找到,这里我们将文件解压到D盘的mysql文件夹下。

  三、让windows知道你的MySQL在哪个位置

  在系统盘的Windows主目录下建立一个my.ini文件,内容如下:

  [mysqld]basedir=D:/mysql/datadir=D:/mysql/data/

  然后设置PATH环境变量。把D:mysqlbin添加进去,这样的话下次进入命令模式的时候就可以直接用mysql,而不用先移动到d盘的mysql/bin目录下了。

  四、让Windows服务加入MySQL

  意思也就是让windows启动的时候能让MySQL自动启动

  在命令行(CMD)模式下,先转到d盘的mysql/bin目录下,然后输入

  mysqld-nt -install

  顺利的话,会提示:

  Server successfully installed.

  五、重启计算机,安装完成

  重启后进入“控制面板”-“服务”,看看是否有MySQL这项服务,是否显示为“启动”。

  如果不想让MySQL在每次启动计算机的时候直接启动的话可以把自动项改成手动

Statement of this Website
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

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 ago By 尊渡假赌尊渡假赌尊渡假赌
Repo: How To Revive Teammates
4 weeks ago By 尊渡假赌尊渡假赌尊渡假赌
Hello Kitty Island Adventure: How To Get Giant Seeds
3 weeks ago By 尊渡假赌尊渡假赌尊渡假赌

Hot Tools

Notepad++7.3.1

Notepad++7.3.1

Easy-to-use and free code editor

SublimeText3 Chinese version

SublimeText3 Chinese version

Chinese version, very easy to use

Zend Studio 13.0.1

Zend Studio 13.0.1

Powerful PHP integrated development environment

Dreamweaver CS6

Dreamweaver CS6

Visual web development tools

SublimeText3 Mac version

SublimeText3 Mac version

God-level code editing software (SublimeText3)

How to have files automatically copied to another folder on Windows 11/10 How to have files automatically copied to another folder on Windows 11/10 Feb 19, 2024 am 11:24 AM

In this article, we will show you how to automatically copy files to another folder on Windows 11/10. Creating backups is necessary to avoid data loss. Data loss can occur due to many reasons such as hard drive corruption, malware attack, etc. You can back up your data manually by using copy and paste method or using third-party tools. Did you know you can automatically back up data on your Windows computer? We'll show you how to do this in this article. How to have files automatically copied to another folder on Windows 11/10 How to use Task Scheduler to automatically copy files and folders to another destination folder on Windows 11/10? This article will provide you with detailed guidance. please

How to set password for win11 computer folder How to set password for win11 computer folder Jan 12, 2024 pm 02:27 PM

After updating to the latest win11 system, most friends don't know how to encrypt their folders to protect privacy, so we have brought you a method. Let's take a look at how to set a password for a win11 computer folder. How to set a password for a win11 computer folder: 1. First find the folder you want to encrypt. 2. Then right-click the folder and select "Properties". 3. Click "Advanced" under Properties. 4. Check "Encrypt content to protect data" in the menu and click OK. 5. Finally, return to the properties of the folder and click "OK" in the pop-up window.

One or more items in the folder you synced do not match Outlook error One or more items in the folder you synced do not match Outlook error Mar 18, 2024 am 09:46 AM

When you find that one or more items in your sync folder do not match the error message in Outlook, it may be because you updated or canceled meeting items. In this case, you will see an error message saying that your local version of the data conflicts with the remote copy. This situation usually happens in Outlook desktop application. One or more items in the folder you synced do not match. To resolve the conflict, open the projects and try the operation again. Fix One or more items in synced folders do not match Outlook error In Outlook desktop version, you may encounter issues when local calendar items conflict with the server copy. Fortunately, though, there are some simple ways to help

Find the default folder path and sharing details of win11 wallpapers Find the default folder path and sharing details of win11 wallpapers Jan 30, 2024 pm 03:15 PM

Many users change wallpapers when using their computers. I believe many users are also asking which folder the win11 wallpapers are in? The wallpapers that come with the system are in Wallpaper under the C drive, and the wallpapers saved by users are in the Themes folder of the C drive. Let this site carefully introduce the win11 default wallpaper path sharing for users. Share win11 default wallpaper path 1. The system comes with wallpaper: 1. First enter my computer, and then open the path: C: Windows Web Wallpaper. 2. User-saved wallpapers: 1. Wallpapers installed by users will be saved in: C: Users (user) xx (current user name) AppDataLocalM

How to set password protection for win10 folder How to set password protection for win10 folder Feb 29, 2024 am 09:00 AM

When using the win10 system, many people are worried about the leakage of confidential files in the computer. In fact, users only need to use the win10 folder password protection function to solve this problem. Today, the editor will help you enable this function. How to set password protection for win10 folders 1. First, you need to select the folder you want to encrypt, right-click the folder, and click Properties in the pop-up option bar. 2. In the properties interface, click Advanced Options in the lower right corner. 3. Enter the advanced properties interface, select the check box before encrypting content to protect data, and then click OK. 4. Then the system will automatically pop up the confirmation attribute change interface, click OK in the interface. 5. In this way, the password protection has been successfully set up, and there will be no impact when using the original account.

Windows 11 Folder Sharing Guide: Easily Share Your Files and Data Windows 11 Folder Sharing Guide: Easily Share Your Files and Data Mar 13, 2024 am 11:49 AM

In daily life and work, we often need to share files and folders between different devices. Windows 11 system provides convenient built-in folder sharing functions, allowing us to easily and safely share the content we need with others within the same network while protecting the privacy of personal files. This feature makes file sharing simple and efficient without worrying about leaking private information. Through the folder sharing function of Windows 11 system, we can cooperate, communicate and collaborate more conveniently, improving work efficiency and life convenience. In order to successfully configure a shared folder, we first need to meet the following conditions: All devices (participating in sharing) are connected to the same network. Enable Network Discovery and configure sharing. Know the target device

There are two Windows folders in the C drive; what should I do? There are two Windows folders in the C drive; what should I do? Mar 06, 2024 am 11:55 AM

The Windows folder contains the Windows operating system and is an important folder in a Windows computer. By default, Windows is installed on the C drive. Therefore, C is the default directory for Windows folders. Every Windows computer has a Windows folder. However, some users reported that two Windows folders were found in the C drive. In this article, we will explain what you can do if you encounter such a situation. Two Windows folders in C drive It is rare to have two Windows folders in C drive. However, if you encounter such a situation, you can use the following suggestions: Run an anti-malware scan to try to find the correct

Where is the win7 language pack stored? Where is the win7 language pack stored? Jan 16, 2024 pm 03:06 PM

If our computer is installed with the win7 operating system and we want to change our language pack or make relevant modifications to it, we first need to find the location of the folder of the computer language bar. But many people still don’t know where the language bar folder is. As far as the editor knows, we can make relevant modifications in the fonts folder of the system. Let’s take a look at how the editor did it for detailed steps~Which folder is the win7 language pack in? 1. Open the start menu, find the control panel, and click to enter. 2. In the jumped control panel interface, find the clock, language and regional options and click to enter. 3. In the jump interface, click Install or Uninstall Display Language Options. 4. In the jump interface, click Install to display the language selection

See all articles