Home > Database > Mysql Tutorial > body text

Mysql安装命令(免安装版)_MySQL

WBOY
Release: 2016-06-01 13:38:39
Original
1111 people have browsed it

bitsCN.com


Mysql安装命令(免安装版)

 

1、down load mysql-5.5.28-win32.zip 

2、unzip it to a path such as d:/mysq/mysql-5.5.28-win32 

3、copy the file my-huge.ini and rename it to my.ini 

     

4、添加如下内容到my.ini的mysqld字段 

    basedir=D:/mysql/mysql-5.5.28-win32 

    datadir=D:/mysql/mysql-5.5.28-win32/data 

    character-set-server=utf8 

 

5、添加入戏内容到client字段 

   default-character-set=utf8 

 

6、以administrator的身份启动命令行cmd,cd到mysql的解压路径的

bin文件夹,运行如下命令mysqld -install   此时已经安装了mysql服务。
 

如出现Install/Remove of the Service Denied!提示说明你没用administrator

权限。如出现Service successfully installed.说明安装成功 

 

7、运行net start mysql启动mysql服务 
 

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