[support] Moving to a new host
Chris Johnson
chris at tinpixel.com
Fri May 19 15:25:10 UTC 2006
Kobus Myburgh wrote:
> Gordon and all,
>
> Thanks for all your help. The host has found some issue on the server
> thanks to your troubleshooting, and is investigating a possible
> solution.
>
> In the meantime he asked if I could ask the list if it is possible to
> put a port number in the $db_url for the database server?
>
> in other words, something like: $db_url =
> 'mysql://drupaluser:mypassword@111.111.111.111:3307/drupaldb';
>
> where 111.111.111.111 is the MySQL database server?
>
> My gut feeling is that the string will not get parsed correctly,
> because of the fact that there is a : already in the $db_url after the
> drupaluser.
No, that should work just fine. Drupal handles port specifications just fine
using PHP's parse_url().
More information about the support
mailing list