Support » Localhost Installs » ERROR 1045 (28000): Access denied for user

  • sudo wp config create –path=/usr/local/src/myhost.mydomain –url=https://myhost.mydomain –dbhost=myhost.mydomain –dbname=myhostDBName –dbuser=”apb@myhost.mydomain” –dbpass=123 –allow-root

    ERROR 1045 (28000): Access denied for user ‘apb@myhost.mydomain’@’localhost’ (using password: YES)

    Can someone explain why it’s tacking on an extra “@localhost”, where it’s coming from and more importantly how to make it not do that?

    Thank you in advance!

    $ wp –info
    PHP binary: /usr/bin/php7.0
    PHP version: 7.0.22-0ubuntu0.16.04.1
    php.ini used: /etc/php/7.0/cli/php.ini
    WP-CLI root dir: phar://wp-cli.phar
    WP-CLI vendor dir: phar://wp-cli.phar/vendor
    WP_CLI phar path: /data/local/src/myscripts
    WP-CLI packages dir: /home/apb/.wp-cli/packages/
    WP-CLI global config:
    WP-CLI project config:
    WP-CLI version: 1.4.0

Viewing 6 replies - 1 through 6 (of 6 total)
Viewing 6 replies - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.