Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 3 of 3
  1. #1
    Senior Coder rafiki's Avatar
    Join Date
    Aug 2006
    Location
    Floating around somewhere...
    Posts
    2,046
    Thanks
    19
    Thanked 42 Times in 42 Posts

    mysql port number

    PHP Code:
    $datahost mysql3.freehostia.com:1234
    for those who have used free hostia before how did you get around this
    this gives me the error unexpected ':' with it the port added and when i remove the port number
    Code:
    Warning:  mysql_connect(): Unknown MySQL Server Host 'mysql3freehostiacom' (1) in /home/www/rafiki.freehostia.com/register.php on line 37
    Unknown MySQL Server Host 'mysql3freehostiacom'
    any fix's for
    ahh i think i can quote it for results ill try in an hour, busy atm
    Last edited by rafiki; 03-07-2007 at 07:34 PM.

  • #2
    Senior Coder Nightfire's Avatar
    Join Date
    Jun 2002
    Posts
    4,265
    Thanks
    6
    Thanked 48 Times in 48 Posts
    $datahost = "mysql3.freehostia.com:1234";

  • #3
    Senior Coder rafiki's Avatar
    Join Date
    Aug 2006
    Location
    Floating around somewhere...
    Posts
    2,046
    Thanks
    19
    Thanked 42 Times in 42 Posts
    Quote Originally Posted by Nightfire View Post
    $datahost = "mysql3.freehostia.com:1234";
    read my edit


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •