w1100n
This site is best viewed in Google Chrome
4/4/2015 3:31 | Tag:

一、下载mysql安装包

安装包名称:mysql-5.6.12-win32.zip

下载地址:http://dev.mysql.com/downloads/mysql/

二、安装mysql

2.1 修改配置文件my.ini

将mysql-5.6.12-win32.zip解压拷贝到F:\

修改F:\mysql-5.6.12-win32.zip目录下的配置文件my.ini如下:

[client]
port = 3306

[mysql]

[mysqld]
bind-address = 0.0.0.0
basedir=D:/apps/mysql-5.6.23-winx64
datadir=D:/apps/mysql-5.6.23-winx64/data
max_connections=200
character-set-server=utf8
port=3306

 

try to start mysql with console

[shell]
mysqld –console
[/shell]

2.2 安装mysql为windows系统服务

以管理员身份(Run as administrator)启动cmd,切换到目录F:/mysql-5.6.12-win32/bin

[shell]
mysqld.exe –install

[/shell]

如果以普通用户执行该命令会提示Install/Remove of the Service Denied!

三、启动mysql服务

3.1 启动mysql服务

以管理员身份启动cmd,切换到目录F:/mysql-5.6.12-win32/bin

启动mysql服务:net start MySQL

四、执行命令

4.1 登录mysql

mysql -u root -p

输入密码(密码为空,直接回车),即可登录。

4.2 执行mysql命令

五、卸载mysql

4.1 停止mysql服务

net stop MySQL

4.2 卸载mysql

mysqld.exe –removehttp://blog.csdn.net/guowenyan001/article/details/9665803

http://serverfault.com/questions/214435/error-1067-the-process-terminated-unexpectedly-when-trying-to-install-mysql-o/214846#214846

 

http://tinypig.iteye.com/blog/368379

 

<< Previous Posts Newer Posts >>
辽ICP备14012896