WordPress.org

Ready to get started?Download WordPress

Forums

using IP address as DB Hostname not allowed? (5 posts)

  1. etegration1
    Member
    Posted 4 years ago #

    using IP address as DB Hostname not allowed? in the wp-config file? i have a mySQL server running but 2 web servers will serve from the same DB. The web servers are on redudant setup backing up each other.

  2. Samuel B
    moderator
    Posted 4 years ago #

    it's allowed if hosting allows it
    I've used the ip on several iPower installs

  3. etegration1
    Member
    Posted 4 years ago #

    i get database error. i edited the /etc/hosts on the 2nd web server to have the hostname and ip mapped. did a ping, success. change DB_HOST to hostname, same db error too. ideas?

  4. etegration1
    Member
    Posted 4 years ago #

    to be sure, i tested mysql remote connection with username and password, i connect to the mysql remotely. any one?

  5. etegration1
    Member
    Posted 4 years ago #

    any clues?

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.