Drakon
New member
Summary:MySQL root password is not stored or accessible anywhere on the server, making it impossible to provision databases that show as "Unknown" in the panel or perform large SQL imports via CLI.
Panelica Version:1.0.214
OS Version (Ubuntu/Debian):Ubuntu 24.04 LTS
Steps to Reproduce:
Expected Behavior:Databases created through the panel should be immediately provisioned in MySQL with correct grants. The MySQL root password set during the Setup Wizard should be stored in a retrievable location (e.g., panel_settings or a secure credentials file) so the server administrator can perform CLI-level database operations.
Actual Behavior:
Error Messages / Logs:
<span><span>ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: NO)<br></span></span><span>ERROR 1049 (42000) at line XXXXX: Unknown database 'zothnet_wpzn'</span>
Also: panelica CLI returned dial tcp: lookup localhost on 8.8.8.8:53: no such host until manually adding localhost to /etc/hosts — the installer appears to not write a localhost entry.
Screenshots:Available — showing "Unknown" database status in MySQL Databases panel with 0 tables and 0.00 KB size.
Panelica Version:1.0.214
OS Version (Ubuntu/Debian):Ubuntu 24.04 LTS
Steps to Reproduce:
- Create a new domain and add a MySQL database via the Databases panel
- Note the database shows status "Unknown" with 0 tables and 0.00 KB
- Attempt to import a large SQL dump via CLI using the assigned database user
- Receive ERROR 1049: Unknown database — the database does not exist in MySQL despite appearing in the panel
- Attempt to connect as MySQL root to manually create the database: mysql -u root → Access denied (no password)
- Search all config files, panel_settings PostgreSQL table, and panelica.conf for MySQL root credentials — none found; panelica.conf shows root_password = SETUP_WIZARD_WILL_SET and is never updated after setup
Expected Behavior:Databases created through the panel should be immediately provisioned in MySQL with correct grants. The MySQL root password set during the Setup Wizard should be stored in a retrievable location (e.g., panel_settings or a secure credentials file) so the server administrator can perform CLI-level database operations.
Actual Behavior:
- Databases created via the panel show as "Unknown" status and do not exist in MySQL
- panelica.conf retains the placeholder root_password = SETUP_WIZARD_WILL_SET after setup — password was never written
- panel_settings PostgreSQL table contains no MySQL root password entry
- No .cnf file or secrets file anywhere under /opt/panelica/ contains the MySQL root credentials
- MySQL root access via socket as Linux root is denied
- The panelica db create CLI command exists but the CLI cannot authenticate (was blocked by missing /etc/hosts localhost entry — separate issue)
- phpMyAdmin client_max_body_size is hardcoded at 512MB in /opt/panelica/etc/panel-nginx/conf.d/gui-tools.conf with no panel UI to increase it, making imports of databases larger than 512MB impossible through the web interface
Error Messages / Logs:
<span><span>ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: NO)<br></span></span><span>ERROR 1049 (42000) at line XXXXX: Unknown database 'zothnet_wpzn'</span>
Also: panelica CLI returned dial tcp: lookup localhost on 8.8.8.8:53: no such host until manually adding localhost to /etc/hosts — the installer appears to not write a localhost entry.
Screenshots:Available — showing "Unknown" database status in MySQL Databases panel with 0 tables and 0.00 KB size.