Page 1 of 1

Installation on Ubuntu 22.04

Posted: 22 Mar 2023, 02:16
by Ariel Silva
Hi Guys,

I'm having difficults to complete the install on Ubuntu 22.04 when try to connect with mySQL. I got this message:

Cannot connect to database.
The server requested authentication method unknown to the client
One or more tests failed. Please correct the errors and try again.
If you have any questions, visit the OpenCATS forums at http://www.opencats.org/forums/.


If I try by command line or using the mySQL Workbench I can connect to the database with out any problem.

Any ideas?!?!

Thanks in advance.

Re: Installation on Ubuntu 22.04

Posted: 22 Mar 2023, 10:19
by RussH
Morning, please can you check you'vre running the dependencies specified here; https://documentation.opencats.org/#dependencies
- i.e. mariadb 10.6 max , php7.2 max, MariaDB NOT MySQL.

This very much sounds like the changed defaults in recent MySQL versions - see https://bobcares.com/blog/mysql-the-ser ... he-client/

But this will resolve when you use MariaDB rather than MySQL.

Re: Installation on Ubuntu 22.04

Posted: 22 Mar 2023, 16:46
by Ariel Silva
Thanks RussH... I switched to MariaDB and the installation finished well!!!!

Appreciated the help!

Re: Installation on Ubuntu 22.04

Posted: 22 Mar 2023, 18:07
by RussH
Anytime!