Wrong user name or password 【28000-199】

本文解决了一个常见的问题:在IDEA中使用嵌入式H2数据库时遇到的认证失败错误。通过在控制台执行特定的SQL语句创建用户并设置密码,可以有效地解决这一问题。
部署运行你感兴趣的模型镜像

idea使用嵌入式h2数据库时

报错信息如下

org.springframework.jdbc.CannotGetJdbcConnectionException: Failed to obtain JDBC Connection; nested exception is org.h2.jdbc.JdbcSQLInvalidAuthorizationSpecException: Wrong user name or password 【28000-199】

解决
在这里插入图片描述
在控制台执行
create user if not exists 用户名 password ‘密码’;
alter user 用户名 admin true;
在这里插入图片描述

您可能感兴趣的与本文相关的镜像

Stable-Diffusion-3.5

Stable-Diffusion-3.5

图片生成
Stable-Diffusion

Stable Diffusion 3.5 (SD 3.5) 是由 Stability AI 推出的新一代文本到图像生成模型,相比 3.0 版本,它提升了图像质量、运行速度和硬件效率

qos queue statistics enable queue 5 outbound interface Ethernet0/0/21 qos queue statistics enable queue 5 outbound interface Ethernet0/0/22 qos queue statistics enable queue 5 outbound interface Ethernet0/0/23 qos queue statistics enable queue 5 outbound interface Ethernet0/0/24 qos queue statistics enable queue 5 outbound interface GigabitEthernet0/0/3 # observe-port 1 interface Ethernet0/0/17 observe-port 2 interface Ethernet0/0/23 # traffic classifier qos_shipin operator and if-match inbound-interface Ethernet0/0/22 # traffic behavior qos_shipin statistic enable remark 8021p 5 car cir 20000 pir 20000 cbs 2500000 pbs 2500000 green pass yellow pass red discard # traffic policy qos_shipin classifier qos_shipin behavior qos_shipin # vlan 5 description to_HN_NE20E_X6 vlan 100 description to_shipin # aaa authentication-scheme default authorization-scheme default accounting-scheme default domain default domain default_admin local-aaa-user wrong-password retry-interval 5 retry-time 3 block-time 5 local-user admin password cipher %@%@.cZrF]V6]Eq@S#GN*`<>~6:h%@%@ idle-timeout 10 0 local-user admin privilege level 3 local-user admin service-type ssh local-user huawei password cipher %@%@ma"KO^~w$;;Gul+S7QL#~.f$%@%@ local-user huawei privilege level 3 local-user huawei service-type telnet # interface Vlanif1 # interface Vlanif5 description to_HN_NE20E_X6 ip address 199.139.14.10 255.255.255.252 # interface Vlanif100 ip address 139.16.32.1 255.255.240.0 # interface Ethernet0/0/22 description to_shipin port link-type access port default vlan 100 traffic-policy qos_shipin inbound qos queue 5 wrr weight 0 qos queue 5 shaping cir 20000 pir 20000 # # interface GigabitEthernet0/0/3 port link-type trunk undo port trunk allow-pass vlan 1 port trunk allow-pass vlan 5 trust 8021p qos queue 5 wrr weight 0 qos queue 5 shaping cir 20000 pir 20000 trust dscp port-mirroring to observe-port 1 inbound port-mirroring to observe-port 1 outbound # interface LoopBack0 ip address 199.139.0.128 255.255.255.255 # ospf 1 router-id 17.16.0.49 import-route static area 0.0.2.42 network 0.0.0.0 255.255.255.255 # snmp-agent snmp-agent local-engineid 000007DB7F00000100000F66 snmp-agent community read cipher %@%@^zO+(=)a`K4VM{@=R;/=]%FeKx8=S7[1Z;.Ov@'P*vsY%Fh]8q0+0%;Dl5T5m#Kd{SH&Fq]%%@%@ snmp-agent community write cipher %@%@UW%v)Nal*TF`duL`5=:F1U\88PPr2Ug)V6*n(6(Ja<tRU\;1X8B%@DG9[/xZc0WO`QHG\D1U%@%@ snmp-agent sys-info version all snmp-agent target-host trap address udp-domain 139.0.1.214 params securityname cipher %@%@_Ox7'VXl%-'0mtOd)4wO]%<V%@%@ snmp-agent trap source LoopBack0 snmp-agent trap enable # ssh server timeout 30 ssh server authentication-retries 5 stelnet server enable ssh user admin ssh user admin authentication-type password ssh user huawei ssh user huawei authentication-type password # set password min-length 8 # user-interface con 0 authentication-mode password user privilege level 15 set authentication password cipher %@%@(J%.&RUJ%Pr(c"5FFZf0,"6@+N#LOS;eD$1\ow@AB]p9"6C,%@%@ user-interface vty 0 4 authentication-mode aaa protocol inbound ssh 上面是华为S3700 V100R006C05BA的配置命令翻译成H3C S7003X交换机的配置命令
最新发布
10-01
评论 10
成就一亿技术人!
拼手气红包6.0元
还能输入1000个字符
 
红包 添加红包
表情包 插入表情
 条评论被折叠 查看
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值