收起左侧

安装mysql或者mariadb均无法连接,急需解决

1
回复
175
查看
[ 复制链接 ]

10

主题

17

回帖

0

牛值

江湖小虾

2025-7-10 16:59:51 显示全部楼层 阅读模式

设备环境:(虚拟机、局域网、系统0.9.13)

BUG现象:(通过docker安装mysql或者mariadb数据库,均无法连接到数据库,提示“用户名或密码错误,或用户没有访问权限”)

出现频率:(必现)

联系方式:(217群-🇽 -🇲 🇦 🇳)

日志文件:(

2025-07-10 08:47:33+00:00 [Note] [Entrypoint]: Entrypoint script for MariaDB Server 1:11.8.2+maria~ubu2404 started.

2025-07-10 08:47:33+00:00 [Warn] [Entrypoint]: /sys/fs/cgroup///memory.pressure not writable, functionality unavailable to MariaDB

2025-07-10 08:47:33+00:00 [Note] [Entrypoint]: Switching to dedicated user 'mysql'

2025-07-10 08:47:33+00:00 [Note] [Entrypoint]: Entrypoint script for MariaDB Server 1:11.8.2+maria~ubu2404 started.

2025-07-10 08:47:33+00:00 [Note] [Entrypoint]: MariaDB upgrade not required

2025-07-10 8:47:33 0 [Note] Starting MariaDB 11.8.2-MariaDB-ubu2404 source revision 8d36cafe4fc700e6e577d5a36650c58707e76b92 server_uid KjyTHYnzkWxRQBEIh5uvt04ggeY= as process 1

2025-07-10 8:47:33 0 [Note] InnoDB: Compressed tables use zlib 1.3

2025-07-10 8:47:33 0 [Note] InnoDB: Number of transaction pools: 1

2025-07-10 8:47:33 0 [Note] InnoDB: Using crc32 + pclmulqdq instructions

2025-07-10 8:47:34 0 [Warning] mariadbd: io_uring_queue_init() failed with EPERM: sysctl kernel.io_uring_disabled has the value 2, or 1 and the user of the process is not a member of sysctl kernel.io_uring_group. (see man 2 io_uring_setup).

2025-07-10 8:47:34 0 [Warning] InnoDB: liburing disabled: falling back to innodb_use_native_aio=OFF

2025-07-10 8:47:34 0 [Note] InnoDB: innodb_buffer_pool_size_max=128m, innodb_buffer_pool_size=128m

2025-07-10 8:47:34 0 [Note] InnoDB: Completed initialization of buffer pool

2025-07-10 8:47:34 0 [Note] InnoDB: Buffered log writes (block size=512 bytes)

2025-07-10 8:47:34 0 [Note] InnoDB: End of log at LSN=47629

2025-07-10 8:47:34 0 [Note] InnoDB: Opened 3 undo tablespaces

2025-07-10 8:47:34 0 [Note] InnoDB: 128 rollback segments in 3 undo tablespaces are active.

2025-07-10 8:47:34 0 [Note] InnoDB: Setting file './ibtmp1' size to 12.000MiB. Physically writing the file full; Please wait ...

2025-07-10 8:47:34 0 [Note] InnoDB: File './ibtmp1' size is now 12.000MiB.

2025-07-10 8:47:34 0 [Note] InnoDB: log sequence number 47629; transaction id 14

2025-07-10 8:47:34 0 [Note] InnoDB: Loading buffer pool(s) from /var/lib/mysql/ib_buffer_pool

2025-07-10 8:47:34 0 [Note] Plugin 'FEEDBACK' is disabled.

2025-07-10 8:47:34 0 [Note] Plugin 'wsrep-provider' is disabled.

2025-07-10 8:47:34 0 [Note] InnoDB: Buffer pool(s) load completed at 250710 8:47:34

2025-07-10 8:47:35 0 [Note] Server socket created on IP: '0.0.0.0'.

2025-07-10 8:47:35 0 [Note] Server socket created on IP: '::'.

2025-07-10 8:47:35 0 [Note] mariadbd: Event Scheduler: Loaded 0 events

2025-07-10 8:47:35 0 [Note] mariadbd: ready for connections.

Version: '11.8.2-MariaDB-ubu2404' socket: '/run/mysqld/mysqld.sock' port: 3306 mariadb.org binary distribution

2025-07-10 8:49:53 3 [Warning] Access denied for user 'mtab'@'172.17.0.1' (using password: YES)

2025-07-10 8:50:03 4 [Warning] Access denied for user 'mtab'@'172.17.0.1' (using password: YES)

2025-07-10 8:52:32 5 [Warning] Access denied for user 'mtab'@'172.17.0.1' (using password: YES)

收藏
送赞
分享

1

主题

955

回帖

80

牛值

一方豪强

社区共建团荣誉勋章飞牛百度网盘玩家

2025-7-11 14:45:23 显示全部楼层
用户名或密码错误,或用户没有访问权限。要看下你docker的启动参数
冬眠~Connection refused.
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则