当前位置:网站首页>MySQL billing Statistics (Part 1): MySQL installation and client dbeaver connection
MySQL billing Statistics (Part 1): MySQL installation and client dbeaver connection
2022-06-30 19:45:00 【51CTO】
One 、 background
There is an IOT network card project that needs to be split , It's going to involve a lot of excel form , The detailed list issued by the operator contains card related information, such as card number 、 Traffic usage 、 cost 、 Card opening date, etc , But there is no branch field , Now you need to associate the card number with the corresponding table of the branch , Work out the bills for each branch office . Use here mysql To achieve , This document documents the test environment installation mysql5.7.37 Process and solve the error reporting problems encountered .
Two 、Mysql install
1.Repository download
Download and install MySQL Official Yum Repository

2.Mysql Install source view
View the currently available Mysql Install source

3. install Mysql database


Find the error message :“mysql-community-libs-5.7.37-1.el7.x86_64.rpm The public key for has not been installed ”、“ The failed package is :mysql-community-libs-5.7.37-1.el7.x86_64 GPG The key is configured as :file:///etc/pki/rpm-gpg/RPM-GPG-KEY-mysql”
4. Problem solving
modify mysql-community.repo, take gpgcheck The value of is determined by 1 Change to 0
5. Re install

installation is complete
3、 ... and 、 start-up Mysql And reset the password
1. start-up Mysql

start-up mysql And set it to start automatically
2. land Mysql
After installed , Will be in my.cnf A password is automatically generated in the file , View and log in

3. Password rule modification
The default password rules are too complex to remember , Now modified

4. Password change

After logging into the database, you need to reset your password before you can carry out subsequent operations
complete mysql install , It can be used happily later .
5. Create database zd
6. Create user loong576

Create user loong576 And grant access to the database zd Authority , Then restart the database
7. Connection Authorization
Otherwise an error :

8. Access authorization

Otherwise an error : Access denied for user ‘loong576’@‘%’ to database ‘zd’

Four 、 client DBeaver Connect
1. Software download
Log in to the official website to download the link https://dbeaver.io/download/ Download a software
2. Create connection

Open software , choice MySQL


Enter the server address and database name

Download the driver
Complete database connection
边栏推荐
猜你喜欢

《微信小程序-基础篇》带你了解小程序中的生命周期(二)

小小笔记-整型提升(C语言)

Pyth Solana is a bridge connecting reality on the chain

码蹄集 - MT3435 · 赋值 - 二分图问题 - 图文讲解

4.3寸触控屏12路控制端口可编程网络中控支持5台中控主机相互备份

项目配置了eslint,编辑器没有关闭eslint功能的情况下,eslint没有生效

派尔特医疗在港交所招股书二次“失效”,上市计划实质性延迟
![[multithreading] use the thread pool to implement a simple thread pool](/img/24/ad3ced1d4aebde3f2233b04752bead.png)
[multithreading] use the thread pool to implement a simple thread pool

虚拟主机什么时候适合更换成云主机?

KubeVela 1.4:让应用交付更安全、上手更简单、过程更透明
随机推荐
【UML】UML类图
超视频时代的音视频架构建设|Science和英特尔联袂推出“架构师成长计划”第二季
永远不要使用Redis过期监听实现定时任务!
虚拟主机什么时候适合更换成云主机?
Connect to lab server
await和async
基于STM32单片机的测温仪
无线充U型超声波电动牙刷方案开发
Task01: getting to know database and SQL (Note 1)
Warmup预热学习率「建议收藏」
一文详解|Go 分布式链路追踪实现原理
如何利用 xUnit 框架对测试用例进行维护?
一文读懂目标检测:R-CNN、Fast R-CNN、Faster R-CNN、YOLO、SSD「建议收藏」
哪个券商佣金的佣金最低?另外,手机开户安全么?
Application of VoIP push in overseas audio and video services
企业中通过组策略管理Edge浏览器设置(IE模式、主页绑定等)
如何使用robots.txt及其详解
力扣------统计包含给定前缀的字符串
【DesignMode】工厂模式 (factory pattern)
Browser window switch activation event visibilitychange