最新文章专题视频专题问答1问答10问答100问答1000问答2000关键字专题1关键字专题50关键字专题500关键字专题1500TAG最新视频文章推荐1 推荐3 推荐5 推荐7 推荐9 推荐11 推荐13 推荐15 推荐17 推荐19 推荐21 推荐23 推荐25 推荐27 推荐29 推荐31 推荐33 推荐35 推荐37视频文章20视频文章30视频文章40视频文章50视频文章60 视频文章70视频文章80视频文章90视频文章100视频文章120视频文章140 视频2关键字专题关键字专题tag2tag3文章专题文章专题2文章索引1文章索引2文章索引3文章索引4文章索引5123456789101112131415文章专题3
问答文章1 问答文章501 问答文章1001 问答文章1501 问答文章2001 问答文章2501 问答文章3001 问答文章3501 问答文章4001 问答文章4501 问答文章5001 问答文章5501 问答文章6001 问答文章6501 问答文章7001 问答文章7501 问答文章8001 问答文章8501 问答文章9001 问答文章9501
当前位置: 首页 - 科技 - 知识百科 - 正文

windows732bit下MySQL5.5.22安装笔记_MySQL

来源:懂视网 责编:小采 时间:2020-11-09 18:15:42
文档

windows732bit下MySQL5.5.22安装笔记_MySQL

windows732bit下MySQL5.5.22安装笔记_MySQL:bitsCN.com 1. 准备文件 mysql解压版 下载地址ftp://ftp.iij.ad.jp/pub/db/mysql/Downloads/MySQL-5.5/mysql-5.5.22-win32.zip 2. 解压到本地目录 D:/devTools/mysql 3. 把添加系统环境变量 MYSQL_HOME ==> D:/dev
推荐度:
导读windows732bit下MySQL5.5.22安装笔记_MySQL:bitsCN.com 1. 准备文件 mysql解压版 下载地址ftp://ftp.iij.ad.jp/pub/db/mysql/Downloads/MySQL-5.5/mysql-5.5.22-win32.zip 2. 解压到本地目录 D:/devTools/mysql 3. 把添加系统环境变量 MYSQL_HOME ==> D:/dev

bitsCN.com
1. 准备文件 mysql解压版 下载地址ftp://ftp.iij.ad.jp/pub/db/mysql/Downloads/MySQL-5.5/mysql-5.5.22-win32.zip 2. 解压到本地目录 D:/devTools/mysql 3. 把添加系统环境变量 MYSQL_HOME ==> D:/devTools/mysql (新建) Path ==> ;%MYSQL_HOME%/bin (追加) 4. 修改MySQL5.5的配置文件,把my-small.ini改名为my.ini进行编辑 a)在[mysqld]下追加 ------- basedir = "d://devTools//mysql" datadir = "d://devTools//mysql//data" character-set-server = utf8 ------- b) 在[client]下追加 ------- default-character-set = utf8 ------- 5. 保存my.ini的配置, 然后打开命令行(开始菜单==>运行==>cmd ) 输入: mysqld --console 然后回车将看到如下类似内容: ------- C:/Windows/system32>mysqld --console 120410 14:25:22 [Note] Plugin 'FEDERATED' is disabled. 120410 14:25:22 InnoDB: The InnoDB memory heap is disabled 120410 14:25:22 InnoDB: Mutexes and rw_locks use Windows interlocked functions 120410 14:25:22 InnoDB: Compressed tables use zlib 1.2.3 120410 14:25:22 InnoDB: Initializing buffer pool, size = 128.0M 120410 14:25:22 InnoDB: Completed initialization of buffer pool 120410 14:25:22 InnoDB: highest supported file format is Barracuda. 120410 14:25:22 InnoDB: Waiting for the background threads to start 120410 14:25:23 InnoDB: 1.1.8 started; log sequence number 1595675 120410 14:25:23 [Note] Event Scheduler: Loaded 0 events 120410 14:25:23 [Note] mysqld: ready for connections. Version: '5.5.22' socket: '' port: 3306 MySQL Community Server (GPL) ------- ==> 证明mysql服务已启动 6. 设置登陆mysql root帐号的的密码 打开新的命令行,输入 mysql -uroot 回车 ------- Welcome to the MySQL monitor. Commands end with ; or /g. Your MySQL connection id is 1 Server version: 5.5.22 MySQL Community Server (GPL) Copyright (c) 2000, 2011, Oracle and/or its affiliates. All rights reserved. Oracle is a registered trademark of Oracle Corporation and/or its affiliates. Other names may be trademarks of their respective owners. Type 'help;' or '/h' for help. Type '/c' to clear the current input statement. ------- ==〉看到上面类似内容说明登陆成功,此时的root帐号是没有密码的 执行命令修改密码: use mysql; update user set password=PASSWORD("这里填写你要设置的密码") where user='root'; 执行完成后退出mysql操作,然后关闭mysql服务(ctrl+C 关闭另一个命令窗口),然后重启mysql服务 作者 lotnhiro bitsCN.com

声明:本网页内容旨在传播知识,若有侵权等问题请及时与本网联系,我们将在第一时间删除处理。TEL:177 7030 7066 E-MAIL:11247931@qq.com

文档

windows732bit下MySQL5.5.22安装笔记_MySQL

windows732bit下MySQL5.5.22安装笔记_MySQL:bitsCN.com 1. 准备文件 mysql解压版 下载地址ftp://ftp.iij.ad.jp/pub/db/mysql/Downloads/MySQL-5.5/mysql-5.5.22-win32.zip 2. 解压到本地目录 D:/devTools/mysql 3. 把添加系统环境变量 MYSQL_HOME ==> D:/dev
推荐度:
标签: 安装 Windows win
  • 热门焦点

最新推荐

猜你喜欢

热门推荐

专题
Top