mysql5.1免安装版_mysql5.1免安装版配置
本文为Windows下配置mysql5.1免安装版
一、去官网下载下来压缩包。
二、将压缩包解压在某个位置 例如:E:/Java/mysql-5.1.73
三、配置my.ini文件
# Example MySQL config file for small systems.
#
# This is for a system with little memory (<= 64M) where MySQL is only used
# from time to time and it's important that the mysqld daemon
# doesn't use much resources.
#
# MySQL programs look for option files in a set of
# locations which depend on the deployment platform.
# You can copy this option file to one of those
# locations. For information about these locations, see:
# http://dev.mysql.com/doc/mysql/en/option-files.html
#
# In this file, you can use all long options that a program supports.
# If you want to know which options a program supports, run the program
# with the "--help" option.
# The following options will be passed to all MySQL clients
[client]
password= 123
port= 3306
socket= MySQL
# Here follows entries for some specific programs
# The MySQL server
[mysqld]
basedir=E:/Java/mysql-5.1.73
datadir=E:/Java/mysql-5.1.73/data
port= 3306
socket= MySQL
skip-locking
key_buffer_size = 16K
max_allowed_packet = 1M
table_open_cache = 4
sort_buffer_size = 64K
read_buffer_size = 256K
read_rnd_buffer_size = 256K
net_buffer_length = 2K
thread_stack = 128K
# Don't listen on a TCP/IP port at all. This can be a security enhancement,
# if all processes that need to connect to mysqld run on the same host.
# All interaction with mysqld must be made via Unix sockets or named pipes.
# Note that using this option without enabling named pipes on Windows
# (using the "enable-named-pipe" option) will render mysqld useless!
#
#skip-networking
server-id= 1
# Uncomment the following if you want to log updates
#log-bin=mysql-bin
# binary logging format - mixed recommended
#binlog_format=mixed
# Uncomment the following if you are using InnoDB tables
#innodb_data_home_dir = C:\\mysql\\data\\
#innodb_data_file_path = ibdata1:10M:autoextend
#innodb_log_group_home_dir = C:\\mysql\\data\\
# You can set .._buffer_pool_size up to 50 - 80 %
# of RAM but beware of setting memory usage too high
#innodb_buffer_pool_size = 16M
#innodb_additional_mem_pool_size = 2M
# Set .._log_file_size to 25 % of buffer pool size
#innodb_log_file_size = 5M
#innodb_log_buffer_size = 8M
#innodb_flush_log_at_trx_commit = 1
#innodb_lock_wait_timeout = 50
[mysqldump]
quick
max_allowed_packet = 16M
[mysql]
no-auto-rehash
# Remove the next comment character if you are not familiar with SQL
#safe-updates
[myisamchk]
key_buffer_size = 8M
sort_buffer_size = 8M
[mysqlhotcopy]
interactive-timeout四、将my.ini文件放在系统Windows目录下。
五、开始--运行 里面输入CMD 进入DOS下 输入 mysqld-nt -install,将mysql作为系统服务
启动MYSQL服务 net start mysql
停止MYSQL服务 net stop mysql
移除mysql服务 mysqld-nt --remove
如果安装成功但启动不了,报1067错,请检查my.ini文件。文件里面配置的路径要和实际的存放路径一致才行。
mysql5.1免安装版_mysql5.1免安装版配置相关推荐
- mysql5.5编译安装脚本_mysql5.5 免编译安装及脚本启动报错深入
Mysql安装环境简介: 最近在做MHA.已经安装完毕heartbeat和drbd,现在准备安装Mysql. Mysql安装目录:/opt/mysql Mysql数据目录:/data/mysql 备注 ...
- mysql5.7.14安装版_MySql5.7.14安装教程详解(解压版)_MySQL
下面进入正式的教程: 第一步:下载最近的MySQL文件并且解压: 下载最新版的MySQL–mysql-5.7.12下载地址 将下载到的文件解压缩到自己喜欢的位置,例如我自己的位置是D:\MySQL\m ...
- mysql5.6英文版安装步骤_mysql5.6版本安装步骤详解
mysql5.0之后的版本与之前的版本有一些区别,我们在安装的时候如果用安装老版本的方法会遇到各种问题,其中最主要的区别就是配置文件my.cnf 详细安装步骤这里就不多说了,与老版本的安装步骤一样的, ...
- mysql5.19安装教程_MySQL5.5.19安装图解
本文详细介绍了Windows下安装MySQL5.5.19的全过程,希望对初学者有帮助. 下载mysql-5.5.19-win32.msi安装文件,双击运行,出现如下界面. mysql安装向导启动,按& ...
- mysql57免安装教程_mysql5.7免安装版配置教程
免安装版配置主要包括以下几步: 1.第一步解压文件,随便放到一个文件夹下面,如:D:\mysql-5.7.15-winx64 2.配置环境变量,在系统变量path后面追加D:\mysql-5.7.15 ...
- c mysql 免安装版_MySQL5.6免安装版环境配置图文教程
MySQL是一个小巧玲珑但功能强大的数据库,目前十分流行.但是官网给出的安装包有两种格式,一个是msi格式,一个是zip格式的.很多人下了zip格式的解压发现没有setup.exe,面对一堆文件一头雾 ...
- win10 mysql5安装图解_mysql5.7.19 安装配置方法图文教程(win10)
WIN10系统MYSQL的下载与安装详细教程,记录如下 前两天ubuntu下安装mysql遇到了一些依赖问题,结果解决了半天,没解决好,还把我的系统搞坏了,小白破坏力好强. 到现在我的ubuntu也没 ...
- mysql5.7.24怎么打开_mysql-5.7.24-winx64安装教程
5.2 配置环境 右击此电脑-->点击属性-->点击高级系统设置-->点击环境变量(N)...-->点击系统变量(S)下面的新建--> 1).第一行写MYSQL_HOME ...
- mysql5.7.14启动教程_mysql5.7.14安装配置方法图文详细教程
mysql 5.7.14安装过程记录如下,希望对大家有帮助. 一.MySQL 5.7.14下载 下载链接:http://dev.mysql.com/downloads/installer/ 具体下载过 ...
- mysql5.6.19安装图解_mysql5.6.19安装说明
转载:http://blog.sina.com.cn/s/blog_5391f1100101ojzz.html 1配置mysql的MYSQL_HOME和PATH 2在HOME下面配置my.ini文件, ...
最新文章
- NeurIPS 2020不用抢票了!官方宣布改线上举办,网友:nice!已白嫖3个顶会
- orangepi找不到GPIO的解决方法
- 最大似然估计的一个示例
- linux和java_java内存和linux关系
- 【Matlab 图像】HSV 空间图片分离器
- LSTM:《Long Short-Term Memory》的翻译并解读
- python 错误处理 assert
- BZOJ 4720: [Noip2016]换教室
- Win2003_IIS6服务器设置排错解答
- SAP Spartacus organization unit list的实现Component
- MySql中的内外联结查询
- 我想学习编程,是自学好还是去培训机构学好呢?
- 0x01第一个汇编程序
- Taskonomy: Disentangling Task Transfer Learning程序运行记录
- php算法复杂度,php的几个经典排序算法及时间复杂度和耗时​
- (转)后监管时代的资本市场,数字金融能否迎来大爆发?
- 深信服 云桌面 linux,极域深信服云桌面专用版
- msk基带信号matlab,MSK、GMSK调制及相干解调Matlab仿真
- luogu1330 封锁阳光大学
- 《五月集训》第二日——字符串
热门文章
- c语言水表程序流程图,水表检定操作流程图.pdf
- B站(哔哩哔哩)视频免费下载方式
- python办公自动化(十一)自动分类文件夹
- 运行不同版本libc
- json数组转json对象(利用map()函数)
- 【Python实用工具】查询本机IP地址
- 欧拉筛素数的应用-漂亮数
- Mac手动关闭暗黑模式
- python抓取word里的拼音_[DIY]给word中的汉字批量加、修改拼音(word全篇加拼音)(旧版VBA程序,缺点比较多)...
- python - 乌龟吃鱼游戏