Web Hosting
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

WordPress fix Reply To: Error establishing a database connection

Discussion in 'Misc WordPress Requests' started by Steve Stern, Dec 6, 2017.

  1. Steve Stern

    Guest

    Reply To: Error establishing a database connection, by Steve Stern

    Let’s try this — create a new user and make that user the DB owner.

    Can you login to phpmyadmin or do you have access to a command line?

    If so, then this is the command

    grant all on databasenamehere.* to 'newuser'@'localhost' identified by 'newpassword'

    Then, in wp-config.php, the user is ‘newuser’ and the password is ‘newpassword’.

    Reply To: Error establishing a database connection
     
    #1

Share This Page

Web Hosting