Skip to content

mysql access denied for user after update #48

Description

@DamonLane

This is an installation that has been working for months. I haven't changed anything and after a container update, my user can no longer access the database and the Emoncms app therefore is failing.

There's another issue about updating the database after an update to the software/container. I think that may apply here, but since my interface won't load, I don't have that simple button to try.

Oct 23 07:23:06 opi emoncms[692736]: Fatal error: Uncaught mysqli_sql_exception: Access denied for user 'damon'@'localhost' (using password: YES) in /var/www/emoncms/Lib/lo>
Oct 23 07:23:06 opi emoncms[692736]: Stack trace:
Oct 23 07:23:06 opi emoncms[692736]: #0 /var/www/emoncms/Lib/load_emoncms.php(21): mysqli->__construct()
Oct 23 07:23:06 opi emoncms[692736]: #1 /opt/emoncms/modules/sync/sync_upload.php(13): require_once('...')
Oct 23 07:23:06 opi emoncms[692736]: #2 {main}
Oct 23 07:23:06 opi emoncms[692736]:   thrown in /var/www/emoncms/Lib/load_emoncms.php on line 21
Oct 23 07:23:06 opi emoncms[692736]: 2025-10-23 13:23:06 224018 [Warning] Access denied for user 'damon'@'localhost' (using password: YES)
Oct 23 07:23:06 opi emoncms[692736]: PHP Fatal error:  Uncaught mysqli_sql_exception: Access denied for user 'damon'@'localhost' (using password: YES) in /var/www/emoncms/s>
Oct 23 07:23:06 opi emoncms[692736]: Stack trace:
Oct 23 07:23:06 opi emoncms[692736]: #0 /var/www/emoncms/scripts/feedwriter.php(22): mysqli->__construct()
Oct 23 07:23:06 opi emoncms[692736]: #1 {main}
Oct 23 07:23:06 opi emoncms[692736]:   thrown in /var/www/emoncms/scripts/feedwriter.php on line 22
Oct 23 07:23:06 opi emoncms[692736]: 
Oct 23 07:23:06 opi emoncms[692736]: Fatal error: Uncaught mysqli_sql_exception: Access denied for user 'damon'@'localhost' (using password: YES) in /var/www/emoncms/script>
Oct 23 07:23:06 opi emoncms[692736]: Stack trace:
Oct 23 07:23:06 opi emoncms[692736]: #0 /var/www/emoncms/scripts/feedwriter.php(22): mysqli->__construct()
Oct 23 07:23:06 opi emoncms[692736]: #1 {main}
Oct 23 07:23:06 opi emoncms[692736]:   thrown in /var/www/emoncms/scripts/feedwriter.php on line 22`
```

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions