Public/Private IP address problem with remote mysql during install — CyberPanel - WebHosting Control Panel for OpenLiteSpeed
CyberHosting

Public/Private IP address problem with remote mysql during install

Provider: Linode
Virtualization Type: KVM

System: Ubuntu 20.04

Installation option:

OLS or Enterprise?
OLS

Installing from official server or mirror server?
official

Install Memcached extension for PHP?
no

Install LiteSpeed Memcached?
no

Install Memcached?
no

Install Redis extension for PHP?
yes

Install Redis?
yes


Problem:

I select remote MySQL option during install

I give it the private linode IP of the MariaDB server, with corresponding root username and password, since I don't want to be billed for the SQL traffic.

Install fails because it creates a mariadb user 'cyberpanel' with access from only the public IP of the cyberpanel server, not the private one, then gets access denied when trying to connect as that user because it connects from the private ip.
Sign In or Register to comment.
CyberPanel Discord

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!