Forum Replies Created

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter Forrester

    (@forrester)

    Okay i tried mysql -u wpuser -p

    I got the error “error 1045 (28000): Access denied for user ‘wpuser’@’localhost’ (usingpassword: YES)”

    I changed the password of the user to ensure I was using the correct password. Should I delete the user and recreate? I created the user by following the directions in the tutorial mentioned in my first post.

    Thread Starter Forrester

    (@forrester)

    Thanks for the help yakbrother but honestly I’m still pretty new with Ubuntu and running my own server. I log into MySQL using the command: mysql -u root -p

    Then I enter my pw and I’m in. I dont know how to log into mysql using ‘localhost’

    I am currently using webmin to manage my server operations (in conjunction with the command line). I took my a few tries to figure out how to log into mysql from webmin because I didn’t know what the username was. During the set up for mysql it only asked me to set a password. SO I tried my server username, then I tried root and my password and that worked.

    As far as I can tell mysql is running fine. I tried stopping it and restarting it a few times just to be sure.

    I hope this makes sense, as I said I’m still new. Thanks for taking the time to help me so far : )

    Thread Starter Forrester

    (@forrester)

    I changed the hostname to localhost, same result. I don’t use that username to log into mysql without wordpress, I use root & password.

    I have also tried setting hostname to my IP, root, localhost, webserver, WEBSERVER

    // ** MySQL settings – You can get this info from your web host ** //
    /** The name of the database for WordPress */
    define(‘DB_NAME’, ‘wordpress’);

    /** MySQL database username */
    define(‘DB_USER’, ‘wpuser’);

    /** MySQL database password */
    define(‘DB_PASSWORD’, ‘removed’);

    /** MySQL hostname */
    define(‘DB_HOST’, ‘localhost’);

    /** Database Charset to use in creating database tables. */
    define(‘DB_CHARSET’, ‘utf8’);

Viewing 3 replies - 1 through 3 (of 3 total)