WordPress.org

Ready to get started?Download WordPress

Forums

remote server installed wp site is not connecting to database on localhost (1 post)

  1. nomi2014
    Member
    Posted 4 months ago #

    hello I have a website, I downloaded it from my online server and executed mysql database. Now I am unable to connect to the website it says

    Error establishing a database connection

    define('DB_NAME', 'DatabaseName');

    /** MySQL database username */
    define('DB_USER', 'root');

    /** MySQL database password */
    define('DB_PASSWORD', '123');

    /** MySQL hostname if */
    define('DB_HOST', '127.0.0:8080');

Reply

You must log in to post.

About this Topic

Tags

No tags yet.