• Our website is multi-lingual English/Thai
    We operate the Thai site with WordPress installed in a sub folder using a separate database. Somehow the Thai database got corrupted by a plugin and took down our hosting. We renamed the sub-folder and the issues stopped and we could access the English site again.
    Question:
    Is it possible to run our Thai site in the same folder but move the database to alternate hosting. All our hosting is with Godaddy.

    • This topic was modified 4 years, 7 months ago by Jan Dembowski. Reason: Moved to Fixing WordPress, this is not an Developing with WordPress topic

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Moderator Yui

    (@fierevere)

    永子

    If thai site is using separate WP installation (with its own DB and wp-config.php), then you can do so.

    Just use DB_HOST pointing to another host (and correct credentials) in your wp-config.php

    Please note that external databases can be slower than local ones,
    remote server should accept external connections to mysql without throttling.

    Dion

    (@diondesigns)

    Keep in mind that allowing remote access to MySQL is a security risk, and the server must be hardened against attacks. For example, access to the MySQL port (usually 3306) should be limited to only the servers that require access to it.

    There are many additional security considerations, and you should contact your hosting company or a server administrator to insure MySQL is properly hardened.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Word press Database on Separate host’ is closed to new replies.