Project

General

Profile

Actions

Bug #5715

closed

Installation problem on new environement

Added by Jean-Michel Mazzocco 8 months ago. Updated 5 months ago.

Status:
Closed
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] 8 months 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 8 months ago

Thank you Marcing, it works !

Actions #3

Updated by Artem Dolobanko 5 months ago

  • Status changed from New to Resolved
  • Affected Version v5.0 added
  • Affected Version deleted (v4.27)

Client confirmed that the problem is resolved.

Actions #4

Updated by Artem Dolobanko 5 months ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF