• 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.

Internal Error - apsc@localhost cannot connect

Evilmachine

Basic Pleskian
Hi there,

today the following error occured every time a open a user control panel

Internal error: ODBC error #HY000: [unixODBC][MySQL][ODBC 5.1 Driver]Access denied for user 'apsc'@'localhost' (using password: NO)
Message ODBC error #HY000: [unixODBC][MySQL][ODBC 5.1 Driver]Access denied for user 'apsc'@'localhost' (using password: NO)
File aps_php.php
Line 12157
Type Exception


What shall i do??
 
Don't you want to mention that you manually restored your server? Or isn't this the case for the topic?

At least check for apsc user and DB existence.
 
Hi,

did this:

Copyright (c) 2000, 2013, Oracle and/or its affiliates. All rights reserved.

Oracle is a registered trademark of Oracle Corporation and/or its
affiliates. Other names may be trademarks of their respective
owners.

Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.

mysql> UPDATE `psa`.`misc` SET `val` = '1qazXSW@' WHERE `misc`.`param` = 'aps_password';
Query OK, 1 row affected (0.08 sec)
Rows matched: 1 Changed: 1 Warnings: 0

mysql> update mysql.user set password=PASSWORD('1qazXSW@') where User='apsc';
Query OK, 1 row affected (0.00 sec)
Rows matched: 1 Changed: 1 Warnings: 0

mysql>

But its still not working- THe DB is there.

Internal error: ODBC error #HY000: [unixODBC][MySQL][ODBC 5.1 Driver]Access denied for user 'apsc'@'localhost' (using password: YES)
Message ODBC error #HY000: [unixODBC][MySQL][ODBC 5.1 Driver]Access denied for user 'apsc'@'localhost' (using password: YES)
File aps_php.php
Line 12157
Type Exception

Yes it was a restore.
 
You may try to use register_apsc_database.php script as I already once advised you.

Personally, I wouldn't attempt to go through with manually restore if the installation was perishable (which is the case here, if I understood correctly).
 
The resotre is now complete and everything works.

I managed it with /usr/local/psa/var/fix_apsc_password

And then it will work.
 
Back
Top