You have some anonymous MySQL users

360webfirm

Well-Known Member
Oct 5, 2016
113
11
68
Ottawa
cPanel Access Level
Root Administrator
Good day all, hope your doing well. Just set up a new server with another host and trying to figure out this security advisor warning.

Remove MySQL anonymous MySQL users: mysql -e "DELETE FROM mysql.user WHERE User=''; FLUSH PRIVILEGES;"

Should I just delete the profile for localhost? Any idea on this would be great appreciated as this sis the first time I have seen this and also the first time using Almalinux with C Panel.
 

cPRex

Jurassic Moderator
Staff member
Oct 19, 2014
16,569
2,612
363
cPanel Access Level
Root Administrator
Hey there! We actually have a tool that will take care of this for you, with more details here:


I see you've mentioned to close this just now, but I wanted to add those details for clarity in case someone else comes across this thread in the future.