Mhhm. Und Du bist sicher, dass der gleiche User auf der Kommandozeile funktioniert, also:
mysql -u root2 -ppassword volkszaehler Viele Grüße, Andreas > On 11. Jun 2019, at 20:21, René W. <tylo...@gmail.com> wrote: > > Das habe ich, dachte ich zumindest. Hab extra nochmal einen root2 User mit > allen Privilegien angelegt. Ich erhalte immer noch die Meldung. Auch ein > Auskommentieren brachte kein Erfolg. > > LG > > Von: Frank Richter <mailto:frank.richte...@gmail.com> > Gesendet: Dienstag, 11. Juni 2019 19:02 > An: volkszaehler.org - users <mailto:volkszaehler-users@demo.volkszaehler.org> > Betreff: Re: [vz-users] You have new mail in /var/mail/pi > > In der config.yaml für den DB-Admin passende Zugangsdaten eingeben. > > René W. <tylo...@gmail.com <mailto:tylo...@gmail.com>> schrieb am Di., 11. > Juni 2019, 18:51: > Moin, > > ich erhalte regelmäßig im SSH „You have new mail in /var/mail/pi“ > In der Log steht folgendes: > > From pi@raspberrypi Tue Jun 11 16:50:01 2019 > Return-path: <pi@raspberrypi> > Envelope-to: pi@raspberrypi > Delivery-date: Tue, 11 Jun 2019 16:50:01 +0200 > Received: from pi by raspberrypi.fritz.box with local (Exim 4.92) > (envelope-from <pi@raspberrypi>) > id 1hai65-0002MX-Lf > for pi@raspberrypi; Tue, 11 Jun 2019 16:50:01 +0200 > From: root@raspberrypi (Cron Daemon) > To: pi@raspberrypi > Subject: Cron <pi@raspberrypi> php /var/www/volkszaehler.org/bin/aggregate > <http://volkszaehler.org/bin/aggregate> run -m delta -l minute >/dev/null > MIME-Version: 1.0 > Content-Type: text/plain; charset=UTF-8 > Content-Transfer-Encoding: 8bit > X-Cron-Env: <SHELL=/bin/sh> > X-Cron-Env: <HOME=/home/pi> > X-Cron-Env: <PATH=/usr/bin:/bin> > X-Cron-Env: <LOGNAME=pi> > Message-Id: <e1hai65-0002mx...@raspberrypi.fritz.box> > Date: Tue, 11 Jun 2019 16:50:01 +0200 > > In AbstractMySQLDriver.php line 106: > > An exception occurred in driver: SQLSTATE[HY000] [1698] Access denied for u > ser 'root'@'localhost' > > > > In PDOConnection.php line 31: > > SQLSTATE[HY000] [1698] Access denied for user 'root'@'localhost' > > In PDOConnection.php line 27: > > SQLSTATE[HY000] [1698] Access denied for user 'root'@'localhost' > > run [-l|--level LEVEL] [-m|--mode MODE] [-p|--periods PERIODS] [-v|--verbose] > [--] [<uuid>...] > > Was muss ich nun machen? > > LG