Home > Database > Mysql Tutorial > body text

免安转MySQL服务的启动与停止方法

WBOY
Release: 2016-06-07 18:03:26
Original
1020 people have browsed it

免安转MySQL服务的启动与停止方法,可以不用安装解压以后即可执行,对于老手推荐,新手建议用安装版本。

1。下载mysql-noinstall-5.1.33-win32.zip,然后解压

2。复制my-huge配置文件为my.ini

在 [mysqld] 下,增加2行
basedir=D:/mysql
datadir=D:/mysql/data

3。进入cmd

进入 bin目录下,运行mysqld install 注册服务器

然后运行net start mysql启动mysql服务(必须将mysql服务设置为手动启动)

停止服务:

运行net stop mysql

4。文件来启动和停止:
Related labels:
source:php.cn
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!