MySQL在windows下的noinstall安装

1、下载并解压下载的noinstall安装包到指定目录。

2、配置MySQL数据库:

在mysql安装目录下my-default.ini文件中最少添加以下两行,更多的参数以后详细说明:

[mysqld]

basedir=D:\MySQL\MySQL Server 5.6(mysql所在目录)

datadir=D:\MySQL\MySQL Server 5.6\data (mysql所在目录\data)

3、启动mysql服务:以管理员身份登录cmd,进入mysql的bin目录下,运行mysqld --console:

4、登录mysql数据库:

6、关闭mysql服务:

控制台输出如下:

2016-10-18 14:24:16 15140 [Note] mysqld: Normal shutdown

2016-10-18 14:24:16 15140 [Note] Giving 0 client threads a chance to die gracefu

2016-10-18 14:24:16 15140 [Note] Event Scheduler: Purging the queue. 0 events

2016-10-18 14:24:16 15140 [Note] Shutting down slave threads

2016-10-18 14:24:16 15140 [Note] Forcefully disconnecting 0 remaining clients

2016-10-18 14:24:16 15140 [Note] Binlog end

2016-10-18 14:24:16 15140 [Note] Shutting down plugin ‘partition‘

2016-10-18 14:24:16 15140 [Note] Shutting down plugin ‘PERFORMANCE_SCHEMA‘

2016-10-18 14:24:16 15140 [Note] Shutting down plugin ‘INNODB_SYS_DATAFILES‘

2016-10-18 14:24:16 15140 [Note] Shutting down plugin ‘INNODB_SYS_TABLESPACES‘

2016-10-18 14:24:16 15140 [Note] Shutting down plugin ‘INNODB_SYS_FOREIGN_COLS‘

2016-10-18 14:24:16 15140 [Note] Shutting down plugin ‘INNODB_SYS_FOREIGN‘

2016-10-18 14:24:16 15140 [Note] Shutting down plugin ‘INNODB_SYS_FIELDS‘

2016-10-18 14:24:16 15140 [Note] Shutting down plugin ‘INNODB_SYS_COLUMNS‘

2016-10-18 14:24:16 15140 [Note] Shutting down plugin ‘INNODB_SYS_INDEXES‘

2016-10-18 14:24:16 15140 [Note] Shutting down plugin ‘INNODB_SYS_TABLESTATS‘

2016-10-18 14:24:16 15140 [Note] Shutting down plugin ‘INNODB_SYS_TABLES‘

2016-10-18 14:24:16 15140 [Note] Shutting down plugin ‘INNODB_FT_INDEX_TABLE‘

2016-10-18 14:24:16 15140 [Note] Shutting down plugin ‘INNODB_FT_INDEX_CACHE‘

2016-10-18 14:24:16 15140 [Note] Shutting down plugin ‘INNODB_FT_CONFIG‘

2016-10-18 14:24:16 15140 [Note] Shutting down plugin ‘INNODB_FT_BEING_DELETED‘

2016-10-18 14:24:16 15140 [Note] Shutting down plugin ‘INNODB_FT_DELETED‘

2016-10-18 14:24:16 15140 [Note] Shutting down plugin ‘INNODB_FT_DEFAULT_STOPWOR

2016-10-18 14:24:16 15140 [Note] Shutting down plugin ‘INNODB_METRICS‘

2016-10-18 14:24:16 15140 [Note] Shutting down plugin ‘INNODB_BUFFER_POOL_STATS‘

2016-10-18 14:24:16 15140 [Note] Shutting down plugin ‘INNODB_BUFFER_PAGE_LRU‘

2016-10-18 14:24:16 15140 [Note] Shutting down plugin ‘INNODB_BUFFER_PAGE‘

2016-10-18 14:24:16 15140 [Note] Shutting down plugin ‘INNODB_CMP_PER_INDEX_RESE

2016-10-18 14:24:16 15140 [Note] Shutting down plugin ‘INNODB_CMP_PER_INDEX‘

2016-10-18 14:24:16 15140 [Note] Shutting down plugin ‘INNODB_CMPMEM_RESET‘

2016-10-18 14:24:16 15140 [Note] Shutting down plugin ‘INNODB_CMPMEM‘

2016-10-18 14:24:16 15140 [Note] Shutting down plugin ‘INNODB_CMP_RESET‘

2016-10-18 14:24:16 15140 [Note] Shutting down plugin ‘INNODB_CMP‘

2016-10-18 14:24:16 15140 [Note] Shutting down plugin ‘INNODB_LOCK_WAITS‘

2016-10-18 14:24:16 15140 [Note] Shutting down plugin ‘INNODB_LOCKS‘

2016-10-18 14:24:16 15140 [Note] Shutting down plugin ‘INNODB_TRX‘

2016-10-18 14:24:16 15140 [Note] Shutting down plugin ‘InnoDB‘

2016-10-18 14:24:16 15140 [Note] InnoDB: FTS optimize thread exiting.

2016-10-18 14:24:16 15140 [Note] InnoDB: Starting shutdown...

2016-10-18 14:24:18 15140 [Note] InnoDB: Shutdown completed; log sequence number

2016-10-18 14:24:18 15140 [Note] Shutting down plugin ‘BLACKHOLE‘

2016-10-18 14:24:18 15140 [Note] Shutting down plugin ‘ARCHIVE‘

2016-10-18 14:24:18 15140 [Note] Shutting down plugin ‘MRG_MYISAM‘

2016-10-18 14:24:18 15140 [Note] Shutting down plugin ‘MyISAM‘

2016-10-18 14:24:18 15140 [Note] Shutting down plugin ‘MEMORY‘

2016-10-18 14:24:18 15140 [Note] Shutting down plugin ‘CSV‘

2016-10-18 14:24:18 15140 [Note] Shutting down plugin ‘sha256_password‘

2016-10-18 14:24:18 15140 [Note] Shutting down plugin ‘mysql_old_password‘

2016-10-18 14:24:18 15140 [Note] Shutting down plugin ‘mysql_native_password‘

2016-10-18 14:24:18 15140 [Note] Shutting down plugin ‘binlog‘

2016-10-18 14:24:18 15140 [Note] mysqld: Shutdown complete

时间: 2024-10-20 06:01:01

MySQL在windows下的noinstall安装的相关文章

MySQL在windows下的图形安装

1.mysql官网下载mysql-5.5.53-winx64.msi文件并保存到磁盘相应目录. 2.图形化安装mysql数据库: 1)双击mysql-5.5.53-winx64.msi,出现欢迎界面,默认,next: 2)下图中接受说明,next: 3)选择custom,next: 4)根据需要选择安装组件,next: 5)默认,install: 6)next: 7)Next 8)点击Finash完成mysql的安装: 3.配置mysql数据库: 1)在安装最后一步选择“launch the m

mysql 在windows下,使用 net start mysql 命令发生错误 服务名无效 或 1067

mysql 在windows下,使用 net start mysql 命令发生错误 :服务名无效 或 1067 先使用mysqld -install安装一下 删除data目录下的日志等文件(因为之前的错误或pid文件有问题) net start mysql 启动 来自为知笔记(Wiz)

sphinx在windows下的简单安装与使用

1.下载地址 http://sphinxsearch.com/downloads/release/,我这里下的是“Win64 binaries w/MySQL+PgSQL+libstemmer+id64 support”,下载后文件名:sphinx-2.0.6-release-win64-id64-full.zip: 2.将其解压到D: \ sphinx,并在D:\sphinx下新建目录data(用来存放索引文件)与log(用来存放日志文件): 3.将D:\sphinx\sphinx.conf.

mysql 8 windows 版本zip方式安装步骤

mysql 8 windows 版本zip方式安装步骤(下载地址:https://dev.mysql.com/downloads/mysql/)1,解压ZIP文件到指定目录下:如D:\mysql-8.0.11-winx642,新建my.ini配置文件并粘贴修改如下内容:(1)baseidr路径  (2)datadir路径[mysql]# 设置mysql客户端默认字符集default-character-set=utf8 [mysqld]#设置3306端口port = 3306 # 设置mysql

[Redis]windows下redis的安装和启动

官方的下载地址是: http://redis.io/download 在win64一栏中可以看到redis原本是没有windows版本的,windows版本是Microsoft Open Tech团队开的 给出了一个github的链接地址: https://github.com/MSOpenTech/redis 下载: 在https://github.com/MSOpenTech/redis  页面的右下角有  Download Zip的字样,点击之后就可以下载源码的zip包了. 然后就是解压:

windows下Emacs的安装与配置

windows下Emacs的安装与配置 1.下载到这个网址可以下载到Emacs的windows版本:http://ftp.gnu.org/pub/gnu/emacs/windows/只需要一个压缩文档,如emacs-23.2-bin-i386.zip 2.安装在D盘根目录下新建一个文件夹,取名Emacs23.2(也可以是其他路径,随个人喜好而定),将emacs-23.2-bin- i386.zip里的文件解压到这个目录下,这样在d:\Emacs23.2\下就有bin, tec, info, le

Windows下 VM12虚拟机安装OS X 10.11 和VM TOOLS

Windows下虚拟机安装Mac OS X —– VMware Workstation12安装Mac OS X 10.11 本文即将介绍WIN虚拟MAC的教程.完整详细教程(包含安装中的一些问题) [并且适用其他mac os x版本] Windows下 VM12虚拟机安装OS X 10.11(详细教程) (图挂了的话,请点击此处.本人在百度发的) 工具/原料 Mac OS X 10.11 镜像文件(链接:http://pan.baidu.com/s/1pL8HE59 密码:cq4d) unloc

[转载]为 Windows 下的 PHP 安装 PEAR 和 PHPUnit

为 Windows 下的 PHP 安装 PEAR 和 PHPUnit 粗略翻译自 Installing PEAR and PHPUnit on WAMP and Windows 7,略有增改. 有需要安装 PHPUnit 来测试脚本,搜索到一篇文章,记录下来. 注意:PHP 5.2 的目录下貌似是有 PEAR 目录的,也有 go-pear.bat,这个你可以自行研究下,看是否可用.我这里测试的是 PHP 5.4,默认不自带 go-pear.bat,所以,如果你是 5.2 的话,这个教程是否可用我

Windows下使用pip安装python包是报错-UnicodeDecodeError: 'ascii' codec can't decode byte 0xcb in position 0

先交待下开发环境: 操作系统:Windows 7 Python版本:2.7.9 Pip版本:6.1.1 其他环境忽略 在windows下使用pip下载python包,出现如下错误 [plain] view plain copy Collecting xxxxxx Exception: Traceback (most recent call last): File "D:\Python27\lib\site-packages\pip-6.0.8-py2.7.egg\pip\basecommand.