当前位置:网站首页>windows安装mysql和jdbc
windows安装mysql和jdbc
2022-07-17 00:12:00 【bisheng95】
1.mysql官网下载,并解压
2.找到mysql安装目录,将其配置文件my.default.ini改名为my.ini(若不存在my.default.ini则直接创建my.ini文件),并且将my.ini移至bin目录下。
3.C:\Windows\System32以管理员权限运行cmd
4.在dos中切换到解压文件夹下,本例中为,D:\mysql\mysql-8.0.26-winx64\bin
5.在控制台以命令行输入:mysqld --initialize --user=mysql --console注意,此步骤会获得一个临时密码,需要记录,之后会用到。
6.在控制台以命令行输入: mysqld --install,进行安装服务操作。
7.之后,在任务管理器找到“服务”,启动其中的MYSQL服务即可。
8.修改密码mysqladmin -u用户名 -p旧密码 password 新密码
旧密码为步骤6中获得的临时密码
9.登录:mysql -uroot -p,接着输入密码即可
10.安装jdbc
https://dev.mysql.com/downloads/connector/j/5.1.html
选择platform independent
边栏推荐
猜你喜欢

递推与递归学习笔记

不会的查一查

关于List<T>的属性与方法

02 design of smart home system based on ZigBee

openGauss Developer Day 2022|东方通诚邀您莅临“东方通生态工具分论坛”

AURIX Development Studio安装

MATLAB :Warning: the font “Times” is not available

Owl Eyes: Spotting UI Display Issues via Visual Understanding

Mxnet network model of show me the code (III)

Can protocol communication
随机推荐
动手学深度学习--多层感知机篇(MLP)
Handling Conditional Discrimination(可解释歧视和确切的歧视)
动手学深度学习---深度学习计算篇
搭建map-reduce开发环境
[literature reading] small footprint keyword spotting with multi scale temporary revolution
Oozie 集成 Ssh
Apt get update error: hash checksum does not match
01 design of intelligent warehouse management system based on RFID
搭建Spark on yarn环境
CMake常用命令
Remote sensing submission process
02基于ZigBee的智能家居系统设计
Configure map reduce workflow in oozie
中心极限定理
IGBT 直通短路过程问题分析
Saber's most powerful digital analog mixed signal simulation software
The following packages have unmet dependencies: deepin. com. wechat:i386 : Depends: deepin-wine:i386
VIM 配置文件
高斯分布的性质(含代码)
Factory method mode notes