Home >Database >Mysql Tutorial >免安转MySQL服务的启动与停止方法_MySQL

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

PHP中文网
PHP中文网Original
2016-05-27 14:08:231246browse

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

下载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。批处理文件来启动和停止:

以上就是免安转MySQL服务的启动与停止方法_MySQL的内容,更多相关内容请关注PHP中文网(www.php.cn)!


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