What port number did you use?The default in phpmyadmin is 3306. The config.inc.php file uses localhost for the host, rather than 127.0.0.1. On top of that, it uses the socket for mysql rather than mariadb. How would changing the port number allow the choice of any db version without running the proper socket?
For the socket for phpmyadmin try the above one from NextCloud path as:
$cfg[âServersâ][$i][âsocketâ] = â/run/rh-mariadb105-mariadb/nextcloud-mysql.sockâ;
OK. Iâll try that when I get back to the office. I found out this afternoon that phpmyadmin doesnât like the use of 127.0.0.1 for the host address. It wonât let me login unless I use localhost. Even if I get it to work, I think my next hurdle will be the proper credentials to login. I created a user in the default db using the phpmyadmin gui, but the later versions will no doubt require a different user. My experience has been that phpmyadmin wonât allow root logins, but Iâm new to nethserver and the use of the newer versions of mariadb.
this is the configuration of nextcloud to mariadb-105:
my concern with nextcloud is it is really specific to that application and if I open it specifically to phpmyadmin I need to do it for any other applications
At a time I got the idea to patch rh-mariadb105 like I did for mariadb-103 to introduce a linux socket to use it because after the installation of rh-mariadb105, the service is up but without configurations IIRC
Also trying desperately to connect phpmyadmin to Nextcloudâs database.
Iâm fiddling with phpmyadminâs config file for some time now and I canât understand why it doesnât work.
I replaced the standard nethserver settings (the one that connects to the regular mysql server) by something like what Stephane showed on that post No Nextcloud Database - #17 by stephdl
I think it somehow works BUT there is always that f*** login screen that asks for a login and password, but I canât figure out WHAT password since if I understand correctly there is no password needed when connecting through the socket.
Copied Adminerâs single php file into Nextcloudâs root folder. No installation nor configuration needed.
Entered the same credentials as in Nextcloudâs config.php file.
And boom, here I was.
Bye bye phpmyadmin, I never really loved you
Sure Steph, but the thing is, correct me if Iâm wrong, there is yet no sure path to simply upgrade an existing installation without too much fuss. Thatâs including VPN tunnels between two servers, DHCP, firewall zones, VLANs and so on. Nothing custom, but a somewhat complex situation. I guess thatâs another story but right now neither my customers or me can afford to invest a lot of time into this.
I hope youâre not having my kind of situation av had to build an sso module and was just about to build vpn till I saw @stephdl is going to work on one, so am waiting for his.