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

安装mysql noinstall zip版

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
Release: 2016-06-07 18:05:58
Original
1175 people have browsed it

没用过mysql, 这几天折腾django ,发现连接mssql好像还是有些小bug,为了防止日后项目有些莫名的db故障,故选择django推荐之一的mysql

版本号: 5.5.19-winx64

1、将my-small.ini 改为my.ini (请按照自己的机器配置更改)

2、在命令行输入:
\bin\mysqld –-console
回车后应该看到下面表示启动成功:

mysqld: ready for connections Version: '5.5.19-log' socket: '' port: 3306
接下来可以注册为win 服务

1、确认mysql 服务终止:
bin\mysqladmin -u root shutdown

2、注册服务:
bin\mysqld --install MySQL --defaults-file=c:\mysql5.5.19-winx64\my.ini

3、启动服务:
net start mysql
my.ini 设置 --- 以下都可以用mysql administrator 来设置
代码如下:
[mysqld]
character-set-server=utf8
[client]
default-character-set=utf8

basedir="c:/mysql5.5.19"
datadir="c:/mysql5.5.19/data"
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
Latest Issues
MySQL stops process
From 1970-01-01 08:00:00
0
0
0
Error when installing mysql on linux
From 1970-01-01 08:00:00
0
0
0
phpstudy cannot start mysql?
From 1970-01-01 08:00:00
0
0
0
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template