mysql8.0.32升级到8.0.40

news2024/11/23 20:25:20

上篇8.0.32库的准备:mysql: error while loading shared libraries: libncurses.so.5: cannot open shared object file: No suc-CSDN博客

此篇测试升级到8.0.40

MySQL :: Download MySQL Community Server

root@jyc:~# mysql -u root -pabcd1234
mysql: [Warning] Using a password on the command line interface can be insecure.
Welcome to the MySQL monitor.  Commands end with ; or \g.
Your MySQL connection id is 9
Server version: 8.0.32 MySQL Community Server - GPL

Copyright (c) 2000, 2023, Oracle and/or its affiliates.

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.

mysql> show databases;
+--------------------+
| Database           |
+--------------------+
| information_schema |
| mysql              |
| performance_schema |
| sys                |
+--------------------+
4 rows in set (0.00 sec)

mysql> create database jyc;
Query OK, 1 row affected (0.00 sec)

mysql> use jyc;
Database changed
mysql> create table test(id int);
Query OK, 0 rows affected (0.02 sec)

mysql> insert into test values(1);
Query OK, 1 row affected (0.01 sec)

mysql> select * from test;
+------+
| id   |
+------+
|    1 |
+------+
1 row in set (0.00 sec)

mysql> 

mysql> exit
Bye
root@jyc:~# systemctl stop mysql
root@jyc:~# pwd
/root
root@jyc:~# ll
total 2047552
drwx------  5 root root       4096 Oct 31 12:37 ./
drwxr-xr-x 20 root root       4096 Oct 31 08:08 ../
-rw-------  1 root root       2412 Oct 31 09:34 .bash_history
-rw-r--r--  1 root root       3106 Dec  5  2019 .bashrc
drwx------  2 root root       4096 Oct 31 07:47 .cache/
-rw-r--r--  1 root root  610315332 Oct 31 07:52 mysql-8.0.32-linux-glibc2.12-x86_64.tar.xz
-rw-r--r--  1 root root   60201944 Oct 31 11:31 mysql-8.0.32-linux-glibc2.17-x86_64-minimal.tar.xz
-rw-r--r--  1 root root 1360436040 Oct 31 08:21 mysql-8.0.40-linux-glibc2.12-x86_64.tar.xz
-rw-r--r--  1 root root   60957800 Oct 31 11:30 mysql-8.0.40-linux-glibc2.17-x86_64-minimal.tar.xz
-rw-r--r--  1 root root      68620 Dec 16  2022 mysql-common_8.0.32-1ubuntu22.04_amd64.deb
-rw-r--r--  1 root root    2457710 Oct 31 11:43 mysql-community-client_8.0.32-1ubuntu22.04_amd64.deb
-rw-r--r--  1 root root    2183834 Oct 31 11:52 mysql-community-client-core_8.0.32-1ubuntu22.04_amd64.deb
-rw-------  1 root root        484 Oct 31 12:37 .mysql_history
-rw-r--r--  1 root root        161 Dec  5  2019 .profile
drwx------  3 root root       4096 Oct 31 07:25 snap/
drwx------  2 root root       4096 Oct 31 07:25 .ssh/
-rw-------  1 root root       9170 Oct 31 08:38 .viminfo
root@jyc:~# tar -xvf mysql-8.0.40-linux-glibc2.17-x86_64-minimal.tar.xz
mysql-8.0.40-linux-glibc2.17-x86_64-minimal/bin/
.......

root@jyc:~# 

root@jyc:~# pwd
/root
root@jyc:~# cd /data/
root@jyc:/data# ll
total 16
drwxr-xr-x  4 root  root  4096 Oct 31 08:24 ./
drwxr-xr-x 20 root  root  4096 Oct 31 08:08 ../
drwxr-xr-x 10 mysql mysql 4096 Oct 31 12:37 mysql/
drwxr-xr-x  8 mysql mysql 4096 Oct 31 12:37 mysql_data/
root@jyc:/data# mv mysql mysql.8.0.32
root@jyc:/data# mv /root/mysql-8.0.40-linux-glibc2.17-x86_64-minimal /data/mysql

root@jyc:/data# ll /data/mysql
total 292
drwxr-xr-x  9 root root    4096 Oct 31 12:38 ./
drwxr-xr-x  5 root root    4096 Oct 31 12:39 ../
drwxr-xr-x  2 7161 31415   4096 Sep 18 11:03 bin/
drwxr-xr-x  2 7161 31415   4096 Sep 18 11:03 docs/
drwxr-xr-x  3 7161 31415   4096 Sep 18 11:03 include/
drwxr-xr-x  6 7161 31415   4096 Sep 18 11:03 lib/
-rw-r--r--  1 7161 31415 257478 Sep 18 10:08 LICENSE
drwxr-xr-x  4 7161 31415   4096 Sep 18 11:03 man/
-rw-r--r--  1 7161 31415    666 Sep 18 10:08 README
drwxr-xr-x 28 7161 31415   4096 Sep 18 11:03 share/
drwxr-xr-x  2 7161 31415   4096 Sep 18 11:03 support-files/
root@jyc:/data# mkdir /data/mysql/log
root@jyc:/data# chown -R mysql:mysql /data/mysql

root@jyc:/data# which mysql
/data/mysql/bin/mysql
root@jyc:/data# /data/mysql/bin/mysql -V
/data/mysql/bin/mysql  Ver 8.0.40 for Linux on x86_64 (MySQL Community Server - GPL)
root@jyc:/data# systemctl start mysql
root@jyc:/data# systemctl status mysql
● mysql.service - LSB: start and stop MySQL
     Loaded: loaded (/etc/init.d/mysql; generated)
     Active: active (running) since Thu 2024-10-31 12:40:58 UTC; 4s ago
       Docs: man:systemd-sysv-generator(8)
    Process: 7319 ExecStart=/etc/init.d/mysql start (code=exited, status=0/SUCCESS)
      Tasks: 39 (limit: 9443)
     Memory: 484.1M
     CGroup: /system.slice/mysql.service
             ├─7355 /bin/sh /data/mysql/bin/mysqld_safe --datadir=/data/mysql_data --pid-file=/data/mysql_data/jyc.pid
             └─7715 /data/mysql/bin/mysqld --basedir=/data/mysql --datadir=/data/mysql_data --plugin-dir=/data/mysql/lib/plugin --user=mysql --log-error=jyc.err --pid-file=/data/mysql_data/jyc.pi>

Oct 31 12:40:48 jyc systemd[1]: Starting LSB: start and stop MySQL...
Oct 31 12:40:48 jyc mysql[7319]: Starting MySQL
Oct 31 12:40:58 jyc mysql[7319]: .......... *
Oct 31 12:40:58 jyc systemd[1]: Started LSB: start and stop MySQL.
root@jyc:/data# ps -ef|grep mysql
root        7355       1  0 12:40 ?        00:00:00 /bin/sh /data/mysql/bin/mysqld_safe --datadir=/data/mysql_data --pid-file=/data/mysql_data/jyc.pid
mysql       7715    7355 44 12:40 ?        00:00:08 /data/mysql/bin/mysqld --basedir=/data/mysql --datadir=/data/mysql_data --plugin-dir=/data/mysql/lib/plugin --user=mysql --log-error=jyc.err --pid-file=/data/mysql_data/jyc.pid --socket=/data/mysql/mysql.sock --port=3306
root        8028    5850  0 12:41 pts/0    00:00:00 grep --color=auto mysql
root@jyc:/data# mysql -u root -pabcd1234
mysql: [Warning] Using a password on the command line interface can be insecure.
Welcome to the MySQL monitor.  Commands end with ; or \g.
Your MySQL connection id is 10
Server version: 8.0.40 MySQL Community Server - GPL

Copyright (c) 2000, 2024, Oracle and/or its affiliates.

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.

mysql> \h

For information about MySQL products and services, visit:
   http://www.mysql.com/
For developer information, including the MySQL Reference Manual, visit:
   http://dev.mysql.com/
To buy MySQL Enterprise support, training, or other products, visit:
   https://shop.mysql.com/

List of all MySQL commands:
Note that all text commands must be first on line and end with ';'
?         (\?) Synonym for `help'.
clear     (\c) Clear the current input statement.
connect   (\r) Reconnect to the server. Optional arguments are db and host.
delimiter (\d) Set statement delimiter.
edit      (\e) Edit command with $EDITOR.
ego       (\G) Send command to mysql server, display result vertically.
exit      (\q) Exit mysql. Same as quit.
go        (\g) Send command to mysql server.
help      (\h) Display this help.
nopager   (\n) Disable pager, print to stdout.
notee     (\t) Don't write into outfile.
pager     (\P) Set PAGER [to_pager]. Print the query results via PAGER.
print     (\p) Print current command.
prompt    (\R) Change your mysql prompt.
quit      (\q) Quit mysql.
rehash    (\#) Rebuild completion hash.
source    (\.) Execute an SQL script file. Takes a file name as an argument.
status    (\s) Get status information from the server.
system    (\!) Execute a system shell command, if enabled
tee       (\T) Set outfile [to_outfile]. Append everything into given outfile.
use       (\u) Use another database. Takes database name as argument.
charset   (\C) Switch to another charset. Might be needed for processing binlog with multi-byte charsets.
warnings  (\W) Show warnings after every statement.
nowarning (\w) Don't show warnings after every statement.
resetconnection(\x) Clean session context.
query_attributes Sets string parameters (name1 value1 name2 value2 ...) for the next query to pick up.
ssl_session_data_print Serializes the current SSL session data to stdout or file

For server side help, type 'help contents'

mysql> \s
--------------
mysql  Ver 8.0.40 for Linux on x86_64 (MySQL Community Server - GPL)

Connection id:          10
Current database:
Current user:           root@localhost
SSL:                    Not in use
Current pager:          stdout
Using outfile:          ''
Using delimiter:        ;
Server version:         8.0.40 MySQL Community Server - GPL
Protocol version:       10
Connection:             Localhost via UNIX socket
Server characterset:    utf8mb4
Db     characterset:    utf8mb4
Client characterset:    utf8mb4
Conn.  characterset:    utf8mb4
UNIX socket:            /data/mysql/mysql.sock
Binary data as:         Hexadecimal
Uptime:                 43 sec

Threads: 2  Questions: 11  Slow queries: 0  Opens: 558  Flush tables: 4  Open tables: 37  Queries per second avg: 0.255
--------------

mysql> select version();
+-----------+
| version() |
+-----------+
| 8.0.40    |

+-----------+
1 row in set (0.00 sec)

mysql> show databases;
+--------------------+
| Database           |
+--------------------+
| information_schema |
| jyc                |
| mysql              |
| performance_schema |
| sys                |
+--------------------+
5 rows in set (0.01 sec)

mysql> use jyc;
Reading table information for completion of table and column names
You can turn off this feature to get a quicker startup with -A

Database changed
mysql> select * from test;
+------+
| id   |
+------+
|    1 |
+------+
1 row in set (0.00 sec)

mysql> 

检查日志记录:

root@jyc:/data/mysql_data# systemctl stop mysql
root@jyc:/data/mysql_data# systemctl start mysql
root@jyc:/data/mysql_data# more jyc.err
2024-10-31T12:04:34.179682Z 0 [Warning] [MY-010918] [Server] 'default_authentication_plugin' is deprecated and will be removed in a future release. Please use authentication_policy instead.
2024-10-31T12:04:34.179722Z 0 [System] [MY-010116] [Server] /data/mysql/bin/mysqld (mysqld 8.0.32) starting as process 5406
2024-10-31T12:04:34.193901Z 1 [System] [MY-013576] [InnoDB] InnoDB initialization has started.
2024-10-31T12:04:34.436376Z 1 [System] [MY-013577] [InnoDB] InnoDB initialization has ended.
2024-10-31T12:04:34.801896Z 0 [Warning] [MY-010068] [Server] CA certificate ca.pem is self signed.
2024-10-31T12:04:34.801957Z 0 [System] [MY-013602] [Server] Channel mysql_main configured to support TLS. Encrypted connections are now supported for this channel.
2024-10-31T12:04:34.835140Z 0 [System] [MY-011323] [Server] X Plugin ready for connections. Bind-address: '::' port: 33060, socket: /tmp/mysqlx.sock
2024-10-31T12:04:34.835328Z 0 [System] [MY-010931] [Server] /data/mysql/bin/mysqld: ready for connections. Version: '8.0.32'  socket: '/data/mysql/mysql.sock'  port: 3306  MySQL Community Server -
 GPL.
2024-10-31T12:34:59.313115Z 0 [System] [MY-013172] [Server] Received SHUTDOWN from user <via user signal>. Shutting down mysqld (Version: 8.0.32).
2024-10-31T12:35:00.786434Z 0 [System] [MY-010910] [Server] /data/mysql/bin/mysqld: Shutdown complete (mysqld 8.0.32)  MySQL Community Server - GPL.
2024-10-31T12:35:04.891460Z 0 [Warning] [MY-010918] [Server] 'default_authentication_plugin' is deprecated and will be removed in a future release. Please use authentication_policy instead.
2024-10-31T12:35:04.891503Z 0 [System] [MY-010116] [Server] /data/mysql/bin/mysqld (mysqld 8.0.32) starting as process 7190
2024-10-31T12:35:04.908498Z 1 [System] [MY-013576] [InnoDB] InnoDB initialization has started.
2024-10-31T12:35:05.152290Z 1 [System] [MY-013577] [InnoDB] InnoDB initialization has ended.
2024-10-31T12:35:05.422534Z 0 [Warning] [MY-010068] [Server] CA certificate ca.pem is self signed.
2024-10-31T12:35:05.422620Z 0 [System] [MY-013602] [Server] Channel mysql_main configured to support TLS. Encrypted connections are now supported for this channel.
2024-10-31T12:35:05.470567Z 0 [System] [MY-011323] [Server] X Plugin ready for connections. Bind-address: '::' port: 33060, socket: /tmp/mysqlx.sock
2024-10-31T12:35:05.470672Z 0 [System] [MY-010931] [Server] /data/mysql/bin/mysqld: ready for connections. Version: '8.0.32'  socket: '/data/mysql/mysql.sock'  port: 3306  MySQL Community Server -
 GPL.
2024-10-31T12:37:44.192653Z 0 [System] [MY-013172] [Server] Received SHUTDOWN from user <via user signal>. Shutting down mysqld (Version: 8.0.32).
2024-10-31T12:37:44.868463Z 0 [System] [MY-010910] [Server] /data/mysql/bin/mysqld: Shutdown complete (mysqld 8.0.32)  MySQL Community Server - GPL.
2024-10-31T12:40:49.034557Z 0 [Warning] [MY-011069] [Server] The syntax '--character-set-client-handshake' is deprecated and will be removed in a future release.
2024-10-31T12:40:49.034756Z 0 [Warning] [MY-010918] [Server] 'default_authentication_plugin' is deprecated and will be removed in a future release. Please use authentication_policy instead.
2024-10-31T12:40:49.034790Z 0 [System] [MY-010116] [Server] /data/mysql/bin/mysqld (mysqld 8.0.40) starting as process 7715
2024-10-31T12:40:49.050205Z 1 [System] [MY-013576] [InnoDB] InnoDB initialization has started.
2024-10-31T12:40:49.394465Z 1 [System] [MY-013577] [InnoDB] InnoDB initialization has ended.
2024-10-31T12:40:52.035278Z 4 [System] [MY-013381] [Server] Server upgrade from '80032' to '80040' started.
2024-10-31T12:40:57.436638Z 4 [System] [MY-013381] [Server] Server upgrade from '80032' to '80040' completed.
2024-10-31T12:40:57.627002Z 0 [Warning] [MY-010068] [Server] CA certificate ca.pem is self signed.
2024-10-31T12:40:57.627074Z 0 [System] [MY-013602] [Server] Channel mysql_main configured to support TLS. Encrypted connections are now supported for this channel.
2024-10-31T12:40:57.667120Z 0 [System] [MY-011323] [Server] X Plugin ready for connections. Bind-address: '::' port: 33060, socket: /tmp/mysqlx.sock
2024-10-31T12:40:57.667178Z 0 [System] [MY-010931] [Server] /data/mysql/bin/mysqld: ready for connections. Version: '8.0.40'  socket: '/data/mysql/mysql.sock'  port: 3306  MySQL Community Server -
 GPL.
2024-10-31T12:41:19.539816Z 10 [Warning] [MY-013360] [Server] Plugin mysql_native_password reported: ''mysql_native_password' is deprecated and will be removed in a future release. Please use cach
ing_sha2_password instead'
2024-10-31T13:04:54.629658Z 0 [System] [MY-013172] [Server] Received SHUTDOWN from user <via user signal>. Shutting down mysqld (Version: 8.0.40).
2024-10-31T13:04:55.266680Z 0 [System] [MY-010910] [Server] /data/mysql/bin/mysqld: Shutdown complete (mysqld 8.0.40)  MySQL Community Server - GPL.
2024-10-31T13:05:04.925055Z 0 [Warning] [MY-011069] [Server] The syntax '--character-set-client-handshake' is deprecated and will be removed in a future release.
2024-10-31T13:05:04.925221Z 0 [Warning] [MY-010918] [Server] 'default_authentication_plugin' is deprecated and will be removed in a future release. Please use authentication_policy instead.
2024-10-31T13:05:04.925257Z 0 [System] [MY-010116] [Server] /data/mysql/bin/mysqld (mysqld 8.0.40) starting as process 8572
2024-10-31T13:05:04.939248Z 1 [System] [MY-013576] [InnoDB] InnoDB initialization has started.
2024-10-31T13:05:05.217637Z 1 [System] [MY-013577] [InnoDB] InnoDB initialization has ended.
2024-10-31T13:05:05.489395Z 0 [Warning] [MY-010068] [Server] CA certificate ca.pem is self signed.
2024-10-31T13:05:05.489464Z 0 [System] [MY-013602] [Server] Channel mysql_main configured to support TLS. Encrypted connections are now supported for this channel.
2024-10-31T13:05:05.534184Z 0 [System] [MY-011323] [Server] X Plugin ready for connections. Bind-address: '::' port: 33060, socket: /tmp/mysqlx.sock
2024-10-31T13:05:05.534258Z 0 [System] [MY-010931] [Server] /data/mysql/bin/mysqld: ready for connections. Version: '8.0.40'  socket: '/data/mysql/mysql.sock'  port: 3306  MySQL Community Server -
 GPL.

本文来自互联网用户投稿,该文观点仅代表作者本人,不代表本站立场。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如若转载,请注明出处:http://www.coloradmin.cn/o/2229236.html

如若内容造成侵权/违法违规/事实不符,请联系多彩编程网进行投诉反馈,一经查实,立即删除!

相关文章

【Spring】Spring 核心和设计思想

Spring 核心和设计思想 1.什么是 Spring1.1 传统程序开发1.2 控制反转程序开发 2.理解 Spring IoC 1.什么是 Spring 我们通常所说的 Spring 指的是 Spring Framework&#xff08;Spring 框架&#xff09;&#xff0c;它是⼀个开源框架&#xff0c;有着活跃而庞大的社区&#x…

白盒测试基本概念(学习笔记)

1.1白盒测试基本概念 测试工作中我们经常遇到的两种测试&#xff0c;就是白盒测试和黑盒测试。基本概念区分如下&#xff1a; 软件的白盒测试是对软件的过程性细节做细致的检查。这一方法是把测试对象看作一个打开的盒子&#xff0c;它允许测试人员利用程序内部的逻辑结构及有…

Mybatis使用和原理

Mybatis使用和原理 1、ORM架构2、Spring整合MyBatis使用2.1 添加maven依赖2.2 配置数据源2.3 创建实体类2.4 创建 MyBatis Mapper2.4.1 使用MyBatis注解2.4.2 使用XML方式 2.5 Service 层 3、Spring整合Hibernate使用3.1 添加maven依赖3.2 配置数据源3.3 创建实体类3.4 创建 Re…

C++核心编程和桌面应用开发 第十七天(set和multiset容器 pair map和multimap容器)

目录 1.set和multiset容器 1.1构造和赋值 1.2交换和大小 1.3插入和删除 1.4统计和查找 1.5pair对组 1.6set和multiset的区别 1.7指定内置数据类型排序规则 1.8指定自定义数据类型排序规则 2.map和multimap容器 2.1构造和赋值 2.2交换和大小 2.3插入和删除 2.4统计…

Android中常用adb命令

目录 1.adb连接安卓模拟器 2.adb列出所有已经连接的设备 3.adb显示设备的日志信息 4.adb 电脑文件推送到安卓模拟器中 5.adb 手机传送文件到电脑 6.adb获取安卓应用的包名和Activity名 附录 1--命令 1&#xff09;adb devices 2&#xff09;adb install 路径> 3&#xff09;…

机器学习算法之回归算法

一、回归算法思维导图 二、算法概念、原理、应用场景和实例代码 1、线性回归 1.1、概念 ‌‌线性回归算法是一种统计分析方法&#xff0c;用于确定两种或两种以上变量之间的定量关系。‌ 线性回归算法通过建立线性方程来预测因变量&#xff08;y&#xff09;和一个或多个自变量…

SpringBoot项目如何设置定时任务总开关

目录 方法一&#xff1a;使用Spring Profiles 1.1 步骤1 1.2 步骤2 1.3 步骤3 1.4 步骤4 方法二&#xff1a;使用ConditionalOnProperty 2.1 步骤1 2.2 步骤2 2.3 步骤3 方法三&#xff1a; 主启动类禁用EnableScheduling 定时任务原理剖析&#xff08;选看&#xf…

计算机前沿技术-人工智能算法-大语言模型-最新研究进展-2024-10-21

计算机前沿技术-人工智能算法-大语言模型-最新研究进展-2024-10-21 目录 文章目录 计算机前沿技术-人工智能算法-大语言模型-最新研究进展-2024-10-21目录1. The Fair Language Model Paradox摘要研究背景问题与挑战如何解决创新点算法模型实验效果重要数据与结论推荐阅读指数&…

Python——实时域名通信状态监控

在互联网时代&#xff0c;网站和在线服务的可用性对于个人和企业都至关重要。域名的通信状态直接关系到服务的可达性&#xff0c;因此&#xff0c;实时监控域名的通信状态成为了一项基本需求。本文将详细介绍一个使用Python编写的简单域名通信状态监控工具&#xff0c;该工具能…

vue vxeui 上传组件 vxe-upload 全局配置上传方法,显示上传进度,最完美的配置方案

Vxe UI 上传组件 vxe-upload 全局配置上传方法&#xff0c;显示上传进度&#xff0c;最完美的配置方案 正常使用上传组件 vxe-upload&#xff0c;都是在用的时候传自定义上传方法&#xff0c;然后进行处理。几个页面是没什么问题&#xff0c;当系统页面非常多的时候&#xff0…

springboot 修复 Spring Framework 特定条件下目录遍历漏洞(CVE-2024-38819)

刚解决Spring Framework 特定条件下目录遍历漏洞&#xff08;CVE-2024-38816&#xff09;没几天&#xff0c;又来一个新的&#xff0c;真是哭笑不得啊。 springboot 修复 Spring Framework 特定条件下目录遍历漏洞&#xff08;CVE-2024-38816&#xff09;https://blog.csdn.ne…

SSH登录介绍

说明&#xff1a;一般登录服务器&#xff0c;我们可以用远程连接工具&#xff0c;如XShell、Windterm等&#xff0c;或者通过公司搭建的JumpServer&#xff08;跳板机、堡垒机&#xff09;来连接。前者是点对点登录&#xff0c;输入主机、端口&#xff0c;通过SSH协议登录&…

Unity计算二维向量夹角余弦值和正弦值的优化方法参考

如果不考虑优化问题&#xff0c;计算两个向量的余弦值或者正弦值可以直接使用类似的方法&#xff1a; [SerializeField] Vector2 v1, v2;void Start() {float valCos Mathf.Acos(Vector2.SignedAngle(v1, v2));float valSin Mathf.Asin(Vector2.SignedAngle(v1, v2)); } 但是…

理解 CSS 中的绝对定位与 Flex 布局混用

理解 CSS 中的绝对定位与 Flex 布局混用 在现代网页设计中&#xff0c;CSS 布局技术如 flex 和绝对定位被广泛使用。然而&#xff0c;这两者结合使用时&#xff0c;可能会导致一些意想不到的布局问题。本文将探讨如何正确使用绝对定位元素&#xff0c;避免它们受到 flex 布局的…

JAVA力扣每日一题:P3216. 交换后字典序最小的字符串

本题来自&#xff1a;力扣-每日一题 力扣 (LeetCode) 全球极客挚爱的技术成长平台https://leetcode.cn/ 题解&#xff1a; class Solution {public String getSmallestString(String s) {int len s.length();int[] arr new int[len];for (int i 0; i < len; i) {arr[i…

Vue3 学习笔记(十二)侦听器详解

在 Vue 3 中&#xff0c;侦听器是一种响应式特性&#xff0c;允许你观察和响应 Vue 实例上的数据变动。Vue 提供了 watch 和 watchEffect 两个函数来创建侦听器。 1、watch 侦听器 watch 是一个用于侦听特定数据源变化的函数。它允许你指定一个或多个数据源&#xff0c;并在这些…

#渗透测试#SRC漏洞挖掘# 信息收集-常见端口及谷歌语法

免责声明 本教程仅为合法的教学目的而准备&#xff0c;严禁用于任何形式的违法犯罪活动及其他商业行为&#xff0c;在使用本教程前&#xff0c;您应确保该行为符合当地的法律法规&#xff0c;继续阅读即表示您需自行承担所有操作的后果&#xff0c;如有异议&#xff0c;请立即停…

SAP ABAP开发学习——第一代增强(包含增强演示)

​​​​​​SAP ABAP开发学习——第二代增强&#xff08;包含增强演示&#xff09;-CSDN博客 SAP ABAP开发学习——第三代增强&#xff08;BADI)-CSDN博客 概念 第一代增强(增强嵌入标准程序中) 第一代出口-User exit 以SD用户出口为例 SD及MM较多的程序都是基于源码控制来…

安宝特分享 | AR技术引领:跨国工业远程协作创新模式

在当今高度互联的工业环境中&#xff0c;跨国合作与沟通变得日益重要。然而&#xff0c;语言障碍常常成为高效协作的绊脚石。安宝特AR眼镜凭借其强大的多语言自动翻译和播报功能&#xff0c;正在改变这一局面&#xff0c;让远程协作变得更加顺畅。 01 多语言翻译优势 安宝特A…

动态规划 01背包(算法)

现有四个物品&#xff0c;小偷的背包容量为8&#xff0c;怎么可以偷得价值较多的物品 如: 物品编号&#xff1a; 1 2 3 4 物品容量&#xff1a; 2 3 4 5 物品价值&#xff1a; 3 4 5 8 记f(k,w) ,当背包容量为w,可以偷k件物品…