惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

MyScale Blog
MyScale Blog
U
Unit 42
The Register - Security
The Register - Security
S
Security Affairs
博客园 - 【当耐特】
Latest news
Latest news
爱范儿
爱范儿
T
The Exploit Database - CXSecurity.com
F
Full Disclosure
C
Cisco Blogs
宝玉的分享
宝玉的分享
C
Cyber Attacks, Cyber Crime and Cyber Security
L
LangChain Blog
P
Privacy & Cybersecurity Law Blog
腾讯CDC
C
CXSECURITY Database RSS Feed - CXSecurity.com
V
Vulnerabilities – Threatpost
Jina AI
Jina AI
Apple Machine Learning Research
Apple Machine Learning Research
博客园 - 叶小钗
www.infosecurity-magazine.com
www.infosecurity-magazine.com
博客园_首页
博客园 - 三生石上(FineUI控件)
D
DataBreaches.Net
WordPress大学
WordPress大学
cs.AI updates on arXiv.org
cs.AI updates on arXiv.org
Microsoft Security Blog
Microsoft Security Blog
N
News and Events Feed by Topic
Recorded Future
Recorded Future
Scott Helme
Scott Helme
Hacker News: Ask HN
Hacker News: Ask HN
Webroot Blog
Webroot Blog
AWS News Blog
AWS News Blog
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
人人都是产品经理
人人都是产品经理
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
T
Tor Project blog
F
Fortinet All Blogs
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
H
Hacker News: Front Page
J
Java Code Geeks
A
About on SuperTechFans
The GitHub Blog
The GitHub Blog
博客园 - 聂微东
Last Week in AI
Last Week in AI
Threat Intelligence Blog | Flashpoint
Threat Intelligence Blog | Flashpoint
W
WeLiveSecurity
V2EX - 技术
V2EX - 技术
T
Troy Hunt's Blog
Attack and Defense Labs
Attack and Defense Labs

博客园 - 倾听-静轩水月

Mysql优化笔记 Arthas使用 vue2.0和vue3.0同时使用 零基础尝试mybatis-plus读写分离 零基础尝试搭建docker和nacos环境 零基础尝试mysql主从复制 mybatis-plus 批量插入示例 找回windows应用商店 linux 开放端口 小白零基础在 Centos 7 中安装 mysql http转向https 内存不够导致编译报错:Information:java: java.lang.OutOfMemoryError: GC overhead limit exceeded docker常用命令 CentOS7使用命令行安装Oracle11GR2 使用Xshell连接VMware上的Linux虚拟机 微信小程序支付证书及SSL证书使用 SqlServer无备份下误删数据恢复 javaweb学习--javabean javaweb学习--jsp
mysql免安装版初次使用
倾听-静轩水月 · 2019-03-21 · via 博客园 - 倾听-静轩水月

在自己电脑上安装一个mysql数据库并启动,碰到一些问题,总结一下

1、下载免安装版mysql数据库,百度下载了了5.7.25版本

2、在bin文件夹下找到my-defaults.ini文件,我这没有,所以新建了一个my.ini文件

3、在文件里添加代码

1 [mysqld]
2 basedir = D:\mysql\mysql-5.7.25-winx64
3 datadir = D:\mysql\mysql-5.7.25-winx64\data   # 8.0.0 之后的版本不用这个
4 
5 [WinMySQLAdmin]CRLF
6 Server = D:\mysql\mysql-5.7.25-winx64\bin\mysqld.exe

注:不要手动去创建data文件夹

4、安装服务,这里很关键

(1)、管理员模式启动cmd命令窗口,非管理员无权限

(2)、输入命令,定位到bin文件夹下

d:
cd D:\mysql\mysql-5.7.25-winx64\bin
mysqld --install

(3)、以上操作已经安装好服务,现在来启动服务

初始化服务

mysqld  --initialize-insecure

注意:执行完后,会显示    root@localhost: APWCY5ws&hjQ  红色字体即为临时密码

启动服务

(4)、若没问题的话,会显示服务启动成功

小白第一次使用mysql数据库,对于碰到的问题,做一下总结