windows64系统中mysql64位绿色安装
2013-07-09 11:06
453 查看
将下载压缩包解压到任意目录
配置安装文件:
# For advice on how to change settings please see
# http://dev.mysql.com/doc/refman/5.6/en/server-configuration-defaults.html # *** DO NOT EDIT THIS FILE. It's a template which will be copied to the
# *** default location during install, and will be replaced if you
# *** upgrade to a newer version of MySQL.
[mysqld]
[client]
#password = 111111
port = 3306
socket = /tmp/mysql.sock
default-character-set=gbk
# Remove leading # and set to the amount of RAM for the most important data
# cache in MySQL. Start at 70% of total RAM for dedicated server, else 10%.
# innodb_buffer_pool_size = 128M
# Remove leading # to turn on a very important data integrity option: logging
# changes to the binary log between backups.
# log_bin
# These are commonly set, remove the # and set as required.
basedir =F:\SysData\mysql
datadir =F:\SysData\mysql\data
port = 3306
socket = /tmp/mysql.sock
default-character-set=uft8
# server_id = .....
# Remove leading # to set options mainly useful for reporting servers.
# The server defaults are faster for transactions and fast SELECTs.
# Adjust sizes as needed, experiment to find the optimal values.
# join_buffer_size = 128M
# sort_buffer_size = 2M
# read_rnd_buffer_size = 2M
sql_mode=NO_ENGINE_SUBSTITUTION,STRICT_TRANS_TABLES
在命令窗口中进入解压包的bin目录执行以下命令:
mysqld --install mysql --defaults-file=[解压文件所以完整目录]\my-default.ini【运行安装服务】
net start mysql【启动服务】
net stop mysql【停止服务】
mysqld --remove mysql【移除服务】
mysql -u root -p【有密码连接数据库服务】
mysql -u root【无密码连接到数据库服务】
mysql> SET PASSWORD FOR 'root'@'localhost' = PASSWORD('newpass');【为root设置登录密码】
修改root密码:
mysql -u root
mysql> use mysql;
mysql> UPDATE user SET Password = PASSWORD('newpass') WHERE user = 'root';
mysql> FLUSH PRIVILEGES;
配置安装文件:
# For advice on how to change settings please see
# http://dev.mysql.com/doc/refman/5.6/en/server-configuration-defaults.html # *** DO NOT EDIT THIS FILE. It's a template which will be copied to the
# *** default location during install, and will be replaced if you
# *** upgrade to a newer version of MySQL.
[mysqld]
[client]
#password = 111111
port = 3306
socket = /tmp/mysql.sock
default-character-set=gbk
# Remove leading # and set to the amount of RAM for the most important data
# cache in MySQL. Start at 70% of total RAM for dedicated server, else 10%.
# innodb_buffer_pool_size = 128M
# Remove leading # to turn on a very important data integrity option: logging
# changes to the binary log between backups.
# log_bin
# These are commonly set, remove the # and set as required.
basedir =F:\SysData\mysql
datadir =F:\SysData\mysql\data
port = 3306
socket = /tmp/mysql.sock
default-character-set=uft8
# server_id = .....
# Remove leading # to set options mainly useful for reporting servers.
# The server defaults are faster for transactions and fast SELECTs.
# Adjust sizes as needed, experiment to find the optimal values.
# join_buffer_size = 128M
# sort_buffer_size = 2M
# read_rnd_buffer_size = 2M
sql_mode=NO_ENGINE_SUBSTITUTION,STRICT_TRANS_TABLES
在命令窗口中进入解压包的bin目录执行以下命令:
mysqld --install mysql --defaults-file=[解压文件所以完整目录]\my-default.ini【运行安装服务】
net start mysql【启动服务】
net stop mysql【停止服务】
mysqld --remove mysql【移除服务】
mysql -u root -p【有密码连接数据库服务】
mysql -u root【无密码连接到数据库服务】
mysql> SET PASSWORD FOR 'root'@'localhost' = PASSWORD('newpass');【为root设置登录密码】
修改root密码:
mysql -u root
mysql> use mysql;
mysql> UPDATE user SET Password = PASSWORD('newpass') WHERE user = 'root';
mysql> FLUSH PRIVILEGES;
相关文章推荐
- 如何在windows64位的系统上安装,配置mysql?
- Windows 64位系统下安装mysql,配置使用以及修改密码!
- 【MySQL】教你一步一步在Windows 8.1系统上配置免安装版mysql-5.6.21-winx64
- Win7 64位系统,Anaconda(Anaconda3-4.3.1-Windows-x86_64) 中安装tensorflow(r 0.12.1)
- Windows 64位系统 安装mysql 的 ZIP Archive版本
- Windows 64位系统安装Apache2.4 mysql5.5
- Windows 64位操作系统安装mysql 绿色版 mysql安装常见问题(系统找不到指定的文件、发生系统错误 1067 进程意外终止)
- 64位 win10系统安装绿色版mysql-5.7.16-winx64的教程
- 64位 win10系统安装绿色版mysql-5.7.16-winx64的教程
- 【MySQL】在windows系统中安装压缩版MySQL并修改root可以在远程访问
- windows系统下安装最新mysql 5.7.13解压版
- Windows 7 64位安装MySQL ODBC驱动
- windows 7 64位系统安装LoadRunner 9.52补丁包错误解决
- Redis 安装与使用 (windows 64位系统)
- Node.js安装及环境配置之Windows篇 一、安装环境 1、本机系统:Windows 10 Pro(64位) 2、Node.js:v6.9.2LTS(64位) 二、安装Node.js步骤
- windows64系统下安装 redis服务 (详细)
- Ruby on Rails + MySQL在windows64位系统上的配置
- Windows10 64位系统安装MySQL5.6.34(压缩版)
- 在64位系统下安装32位ODBC驱动问题How to install and configure a 32 bit ODBC driver on a 64 bit Operating System?
- Windows 10下mysql 64位 安装(mysql-5.7.11-winx64安装)