You have some anonymous MySQL users

360webfirm

Well-Known Member
Oct 5, 2016
82
8
58
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
10,360
1,628
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.