SQL error after creating DB for a Site #430

Closed
opened 2026-04-05 20:27:52 +02:00 by MrUnknownDE · 0 comments
Owner

Originally created by @ConrDev on 2/20/2023

CloudPanel version(s) affected

v2

Description

After adding a MySQL 8.0 database to a site it gives a

- SQLSTATE[28000]: Invalid authorization specification: 1045 access denied for user ‘root’@‘127.0.0.1’ (Using passeord: YES)

How to reproduce

my steps:

  • clean ubuntu 22.04 install
  • install cloudpanel
  • register admin account
  • add a new user as admin and removed the old one because i wanted to use admin as username
  • add a custom domain
  • add a site
  • add a database

Possible Solution

maybe a easier way to reinstall or uninstall cloudpanel without reinstalling the whole system

Additional Context

957C00B0-C824-4D8F-AFEC-38650EA0C3D1

*Originally created by @ConrDev on 2/20/2023* ### CloudPanel version(s) affected v2 ### Description After adding a MySQL 8.0 database to a site it gives a ```diff - SQLSTATE[28000]: Invalid authorization specification: 1045 access denied for user ‘root’@‘127.0.0.1’ (Using passeord: YES) ``` ### How to reproduce my steps: - clean ubuntu 22.04 install - install cloudpanel - register admin account - add a new user as admin and removed the old one because i wanted to use admin as username - add a custom domain - add a site - add a database ### Possible Solution maybe a easier way to reinstall or uninstall cloudpanel without reinstalling the whole system ### Additional Context ![957C00B0-C824-4D8F-AFEC-38650EA0C3D1](https://user-images.githubusercontent.com/20028486/220027338-64f49973-cbef-4b2a-a027-4ea2a353c5d1.png)
Sign in to join this conversation.