Project

General

Profile

Actions

Bug #5715

open

Installation problem on new environement

Added by Jean-Michel Mazzocco 19 days ago. Updated 19 days ago.

Status:
New
Priority:
High
Assignee:
-
Category:
-
Target version:
-
Start date:
30.04.2024
Due date:
% Done:

0%

Estimated time:
Sorting:
Commit Number:
Affected Version:

Description

Hi

We have facing issue during the installation process on new environment

We try to install on Redhat 9.3, with mysql Ver 8.0.36

I have this error :

"Database connection details are saved under `sqlalchemy.db1.url =` variable inside /product/rhodecode/.rccontrol/community-1/rhodecode.ini.
Database type - [s]qlite, [m]ysql, [p]ostresql:
MySQL selected
Database host [127.0.0.1]:
Database port [3306]:
Database username: rhodecode
Database password:
Repeat for confirmation:
Database name: rhodecode
Connection to DB failed with: '(_mysql_exceptions.OperationalError) (2058, 'Plugin caching_sha2_password could not be loaded: /opt/rhodecode/store/sy5q1vqcrl1k32arz9ydrz7ckzfj8s2c-mariadb-connector-c-2.3.4/lib/plugin/caching_sha2_password.so: cannot open shared object file: No such file or directory')'
Please re-enter connection details."

I precise the file "caching_sha2_password.so" isn't present

Thanks in advanced

Regards
JM.

Actions #1

Updated by Marcin Kuzminski [CTO] 19 days ago

Hi,

We don't support sha2 auth on 4.x

You might be able to fix this problem if you configure MySQL/mariadb to run in mysql_native_password mode

Actions #2

Updated by Jean-Michel Mazzocco 19 days ago

Thank you Marcing, it works !

Actions

Also available in: Atom PDF