Forum Replies Created

Viewing 1 replies (of 1 total)
  • bigdunks

    (@bigdunks)

    I believe I have found the problem to the “Unknown MySQL server host” issue.

    Looking through the code, there is no part that grabs the port number. It seems that one way of setting the db server location is to append the port to the server url using a colon, which the php connect function balks at.

    if you set ‘localhost’ as you db server address, it will connect fine, if you set it as ‘localhost:3306’ (default port?) then it will fail.

    I found this out since my host uses port 3309 for their port and assign the url as above, with a colon. hand editing the dsn connection string with the url bare, and a “port=”parameter made everything work.

Viewing 1 replies (of 1 total)