20140220-MySQL的安装(使用zip解压绿色安装方式)_MySQL
20140220-MySQL的安装(使用zip解压绿色安装方式)
谷歌输入MySQL可以直接找到官网的下载地址。下载绿色版。
选择:MySQL Community Server。
如果你已经安装了MySQL可以先执行:
(1)停止MySQL的服务:net stop mysql(不需要分号)
(2)移除MySQL的服务:mysqld remove(不需要分号)
安装步骤
1、将压缩包解压,复制到指定位置;
2、添加环境变量;
将以下目录添加到环境变量path中:F:/app/mysql-5.6.16-winx64/bin(这一步很重要);
3、修改配置文件;
(1)将mysql目录下的其中一个my-xx.ini重命名为my.ini;
(2)打开my.ini,在该文件中的[mysqld]下面增加两个配置信息。
basedir=指向mysql的目录,datadir指向mysql的数据库存储目录。
或者这样写。
4、通过命令提示符安装MySQL
(1)进入bin文件夹(虽然已经配置了path,但是依然在安装时建议进入mysql的bin目录)
执行命令:mysqld install
拓展:输入mysqld remove可以完成卸载。
(2)在控制面板、管理工具的服务里面F5刷新一下,可以看到MySQL的服务。
(3)执行命令net start mysql完成启动服务。
注意:如果在这里你不能启动,请你一定要在当前目录下打开bin的cmd路径,即使在你已经将mysql的bin目录设置为环境变量的情况下。即在cmd下,走到MySQL解压缩版本的bin目录下去执行安装和启动的命令。
否则会报"找不到指定文件"的错误提示信息。
5、进入MySQL;
使用mysql -u root -p回车之后输入密码可以进入MySQL,使用show databases可以查询MySQL中的所有数据库。
新用户没有密码,可以直接回车。
6、查看数据库
show databases;
注意:这里要写分号。

Hot AI Tools

Undresser.AI Undress
AI-powered app for creating realistic nude photos

AI Clothes Remover
Online AI tool for removing clothes from photos.

Undress AI Tool
Undress images for free

Clothoff.io
AI clothes remover

AI Hentai Generator
Generate AI Hentai for free.

Hot Article

Hot Tools

Notepad++7.3.1
Easy-to-use and free code editor

SublimeText3 Chinese version
Chinese version, very easy to use

Zend Studio 13.0.1
Powerful PHP integrated development environment

Dreamweaver CS6
Visual web development tools

SublimeText3 Mac version
God-level code editing software (SublimeText3)

Hot Topics

win7 has always been loved by everyone for its stability and good compatibility, but many friends don’t know where to download win7 professional version. Today, the editor brings the download method and download and installation steps. The specific solutions are as follows Let’s take a look. Recommended address for win7 professional version download and installation tutorial>>>>This site<<<Download link>>>>win7 professional version original iso<<<>>>New Radish Home GhostWin764-bit professional version v2019.07<<<The first installation tutorial Step: Click the download button in the download system (you can choose Thunder download, network disk download, Telecom

For ordinary users, the system is for computer use and does not require complicated functions. The home version is completely sufficient. So where can you download the win11 home version? In fact, this site provides a download link. Where can I download win11 home version: Answer: The win11 home version here on this site is very easy to use and smooth, and it is very convenient to install. You can install it directly by double-clicking to run it. Win11 Home Edition Installation Tutorial: 1. If you download win11 from this site, you can first right-click and "load" the file. 2. A folder will appear after loading, open it. 3. Then double-click the "One-click installation system.exe" to automatically install win11 home version.

Due to its easy operation and powerful information integration functions, Windows 7 has won the favor of many Microsoft users. However, people now want to download the Win7 system but it is difficult to find the genuine Win7 download address. The thoughtful editor has helped everyone sort out the Win7 system. The official download address, friends in need, please continue to read below. Xiaobai system Ghostwin732 pure version system download v21.07 (using new technology to improve the compatibility and running speed of the system, the most important thing is to improve the mainstream games on the market Compatibility, reducing system weight.) http://www.windows7en.com/xb/xb32/50143.html Novice system Ghostwin764 pure

The win7 system is Microsoft's classic operating system. The system has strong stability and good compatibility, and is deeply favored by everyone. Some netizens prefer the pure version of gho version win7 system to the original system, so they want to know where to download the gho version win7 image file to install and use. The editor below will share with you the download address of the win7 image file gho. Here, the editor recommends that you go to the windows7en official website to download, which not only contains the original win7 system, but also the GHO pure version of win7 system from various companies, which is very safe and reliable. The editor below will introduce the simplified version of the win7 system of Deepin Technology: 1. Deepin Technology 64-bit win7 ultimate version system download v21.08 Deepin Technology

When we use the win7 operating system, if we want to reinstall the operating system, regarding the question of where is the best place to download the pure version of the win7 system, facing the many system websites currently, I believe many friends want to find a reliable website to download. We can download it from this website. It is free to download, easy to install, and the system operation is also very stable. Let’s take a look at what the editor said for details~ Where is the best place to download the pure version of win7 system? Answer: The pure version of win7 downloaded from this site is the best. 1. The pure version of win7 provided by this site is the purest. 2. It not only deletes some unnecessary functional services, but also ensures safe installation without network. 3. The pure version of win7 here can guarantee that it will not be installed for users.

Where can I find the win11ie browser? Recently, some users upgraded their computers to the Win11 system, but could not find the IE browser during subsequent use. So where is the Win11ie browser? How to bring up the Win11ie browser? Let's take a look at how the editor solved it. Many friends don't know how to operate it in detail. The editor has compiled the method to adjust the Win11ie browser. If you are interested, follow the editor to take a look below! How to bring up the Win11ie browser Answer: Win11 no longer has the IE browser, you can only download it if you want it. 1. According to Microsoft’s news, starting from Win11, the system will no longer have its own IE browser. 2. If everyone

When we are preparing to install the operating system on our computers, many friends must not know how to choose among the many download websites and software platforms currently on the market~ For this kind of problem, the editor thinks that we can use this website Download the operating system we need, and the downloaded system can also be installed with one click. Where to download win10? 1. Click the blue button on the right to directly enter the download interface. 2. The system here is very good, especially safe, stable, green and smooth. Click "Download Now" to install it directly. How to enter safe mode in win10: 1. First press the shortcut key "win+r" to open run and enter: msconfig. 2. Then click the Boot tab and check "Secure Boot"

Many friends have their favorite win10 system version. The win10 lite version is very good. Many friends also like this version. The win10 lite version does not come with official software. Below, I will share with you the download address of the win10 lite version. . 1. YuLinMuFeng Win1064-bit streamlined professional version (download address: http://one-198358-com.supergslb.com/iso/1064_xb_21_03_18.iso). YuLinMuFeng Win10 64-bit streamlined professional version has an installation system that is faster and smoother than the original system. It provides a variety of installation methods, simple operation, perfect running hardware, and system compatibility.
