• Sorry for my bad English !
    I’m using OpenShift to create a MySQL host database for my wordpress website ( in another host ) , but when i config the wp-config.php file and type the right information in OpenShift , the WordPress can’t connect to the database ( Error establishing a database connection )
    I’m sure all the information config is right , but i don’t know why my website can’t connect to the OpenShift MySQL database .
    Do you have any ideas for config wordpress to connect with OpenShift MySQL ?
    Thanks you so much !

Viewing 2 replies - 1 through 2 (of 2 total)
  • Michael

    (@mikeyhoward1977)

    So your MySQL database is on a different server to your WordPress install?

    I presume the MySQL DB allows remote connections? I believe the default is not to.

    Also, for more information as to why it is not connecting, enable debugging. You can then review the information in the /wp-content/debug.log file which should point you in the right direction.

    Thread Starter Na Nguyen

    (@naenter)

    I mean I want to use OpenShift to host my SQL DATABASE , and i redirect connect my website to it , I think’t it not impossible because the SQL server database in OpenShift may only support website hosted in it .

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Setup WordPress database error in MySQL OpenShift’ is closed to new replies.