• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • 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.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

Question how to fix error 1045 while installing

pvnda

New Pleskian
I encountered this during installation
ERROR 1045 (28000): Access denied for user 'admin'@'localhost' (using password: YES)
so I never set admin@localhost before, I just set the password for the root
and what should I put in /root/.my.cnf

thanks a lot!
 
You should use only root user.
I dropped all users except root, and I put
Code:
[client]
user=root
password=xxxxx
into ~/.my.cnf
it's still not working,
what did i miss ?
by the way i don't have /etc/my.cnf
and where can I find
SYSCONFDIR/my.cnf
$MYSQL_HOME/my.cnf
 
I meant using root account for all your actions in CLI. When you install Plesk, root acccess for mysql will be replaced by admin account. Therefore you mustn't have any .my.cnf especially with

user=root

records there.
 
I removed .my.cnf file, I checked all other my.cnf files, there is no [client] section expect debian.cnf but when I run wget command in su, the error still there:(
I meant using root account for all your actions in CLI. When you install Plesk, root acccess for mysql will be replaced by admin account. Therefore you mustn't have any .my.cnf especially with

user=root

records there.
 
I can only recommend to create a request to support team to do in-depth investigation to find the reason and to fix it. Please create a ticket to support at Help Center
 
Back
Top