The username that was in the error was not related to the one I removed... but now I'm wondering if I shouldn't have done that.SQL ERROR [ mysqli ]
Access denied for user '(usernamehere)'@'localhost' (using password: YES) [1045]
An sql error occurred while fetching this page. Please contact an administrator if this problem persists.
Hmmm... I don't know what to think. I'm certain it wasn't on the database page but on the ftp page... and, it was a weird string of characters whereas the username in the error is separate and an actual account I made once upon a time.My only thought is that it was a database account and not an ftp account
Some hosts will create database user using same credentials as main/FTP account when the main account is created. They are independent of each other once created. I'm not positive but this may even be option in WHM for creation of Cpanel accounts. Certainly there would be no difficulties creating script to run after account creation to do it. Poor idea as far as security goes but certainly helpful for people that are clueless.
I don't know what you have going on but I would remove any accounts you have no clue about. Change the passwords for all remainig accounts especially the main account, FTP accounts and database users. Apply the new password to config.php
I don't disagree, but my point was that changing something for an ftp account would not (unless a very strange setup) affect a database account.thecoalman wrote: ↑Sat Apr 17, 2021 10:49 am Some hosts will create database user using same credentials as main/FTP account when the main account is created.