• Introducing WebPros Cloud - a fully managed infrastructure platform purpose-built to simplify the deployment of WebPros products !  WebPros Cloud enables you to easily deliver WebPros solutions — without the complexity of managing the infrastructure.
    Join the pilot program today!
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.

Plesk 7.5.1 Admin Mysql User Deleted!!

T

Traged1

Guest
For some odd reason the admin user in the mysql database was deleted. Although the box has shown no signs of any rooting. All md5's check out fine and rkhunter and chrootkit all report everything is good.

Very strange.

To solve it:


add to:
-----------------------------------
vi /etc/my.cnf

skip-grant-privs
-----------------------------------

Then /etc/init.d/mysqld restart

Then,

----------------------------------
mysql -uadmin -p`cat /etc/psa/.psa.shadow`;
use mysql;

INSERT into user values ('localhost','admin',"Password(YOUR_PLESK_PASSWORD)" ,'Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','
Y','Y');
----------------------------------

Comment out:

-----------------------------------
vi /etc/my.cnf

# skip-grant-privs
-----------------------------------

Then,

/etc/init.d/mysqld restart

That should fix it, but if anyone has any idea's as to what could have cuased this please elaborate..
 
By the way there was nothing out of the ordinary in the /root/.mysqld_history file either.
 
I was getting all kinds of errors such as Access denied for admin@localhost, stored PLESK admin password does not match ect..
 
Back
Top