WordPress.org

Ready to get started?Download WordPress

Forums

mysql on remote server (3 posts)

  1. Rob
    Member
    Posted 2 years ago #

    I am setting up my newest wordpress site to use the database i have on another server. This is all done in amazon ec2, using ubuntu, just as an fyi. here is the problem, I can connect at the command line to database server using "mysql -u myusername -h myipaddress -p", once i enter the password i can do all the fun database stuff I should be able to. However on the same machine using the same credentials, wordpress install script fails to connect to the database. Any suggestions?

    thanks

  2. danhgilmore
    Member
    Posted 2 years ago #

    Have you edited the wp-config.php file's hostname value?

    Any errors in the log files?

  3. Rob
    Member
    Posted 2 years ago #

    i have edited the wp-config, with the same values (host ip, username, password). which error log would you recommend looking in, database server or local?

Topic Closed

This topic has been closed to new replies.

About this Topic