Home > Database > Mysql Tutorial > mysql noinstall版安装_MySQL

mysql noinstall版安装_MySQL

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
Release: 2016-06-01 13:35:11
Original
1615 people have browsed it

bitsCN.com

mysql noinstall版安装

 

1.下载mysql-noinstall-5.1.68-win32版本

 

2.进入根目录下选择一个配置文件修改文件名为 my.ini。

my-huge.ini  (for very big sites, many visitors at day or at some time.非常大的站点,在一段时间内有非常多的人访问。)

 

my-innodb-heavy-4G.ini  ()

my-large.ini  (for big sites.大的站点)

my-medium.ini  (if you have acceptable number of visitor's.普通的站点)

my-small.ini  (if you run it in local host and you use only for testing.运行在本地,用作本地测试)

 

3.命令行下进入到mysql的bin目录下,运行命令。

   将mysql增加到服务中

Sql代码  

mysqld --install mysql-slave  

   移除mysql服务

Sql代码  

mysqld --remove mysql-slave  

 

4.启动服务

Sql代码  

net start mysql-slave  

  停止服务

Sql代码  

net stop mysql-slave  

 

 5.启动|停止脚本编写。脚本放在mysql的bin目录下

   启动

Sql代码  

@echo off  

echo start mysql-slave on localhost  

mysqld --install mysql-slave --defaults-file="D:/Program Files (x86)/MySQL/mysql-noinstall-5.1.68-win32/my.ini"  

net start mysql-slave  

pause  

   停止

Sql代码  

@echo off  

echo stop mysql-slave  

net stop mysql-slave  

mysqld --remove mysql-slave  

pause  

 

bitsCN.com
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