Discover Habbo's history
Treat yourself with a Secret Santa gift.... of a random Wiki page for you to start exploring Habbo's history!
Happy holidays!
Celebrate with us at Habbox on the hotel, on our Forum and right here!
Join Habbox!
One of us! One of us! Click here to see the roles you could take as part of the Habbox community!


Results 1 to 9 of 9
  1. #1
    Join Date
    May 2006
    Location
    Hull
    Posts
    7,701
    Tokens
    2,430
    Habbo
    Moh

    Latest Awards:

    Default Connecting to remote server (MySQL)

    Well I am currently trying to connect to our forums MySQL from our main site.

    I have allowed our server ID for the main site to access the MySQL.
    When I replace "localhost" with the server ip of the forum, it dosn't connect.

    Do I have to use another IP than the server IP? or do I have to add a port?

    Cheers.

  2. #2
    Join Date
    Oct 2006
    Location
    Peterborough, UK
    Posts
    3,855
    Tokens
    216

    Latest Awards:

    Default

    Quote Originally Posted by Jack120 View Post
    Well I am currently trying to connect to our forums MySQL from our main site.

    I have allowed our server ID for the main site to access the MySQL.
    When I replace "localhost" with the server ip of the forum, it dosn't connect.

    Do I have to use another IP than the server IP? or do I have to add a port?

    Cheers.
    Are you sure remote mysql is enabled? also remote mysql is not really a good idea because of high ping.


    visit my internet web site on the internet
    http://dong.engineer/
    it is just videos by bill wurtz videos you have been warned

  3. #3
    Join Date
    Jun 2008
    Location
    United Kingdom
    Posts
    2,015
    Tokens
    568

    Latest Awards:

    Default

    Try this - http://www.webmasterworld.com/forum10/6141.htm
    (third post from the bottom)

  4. #4
    Join Date
    May 2006
    Location
    Hull
    Posts
    7,701
    Tokens
    2,430
    Habbo
    Moh

    Latest Awards:

    Default

    Quote Originally Posted by Jewish Bear View Post
    Are you sure remote mysql is enabled? also remote mysql is not really a good idea because of high ping.
    The only way we can update infomation without having to create a new database.

    It would help if the sites where hosted by the same host, but sadly, thats not the case

  5. #5
    Join Date
    Nov 2007
    Location
    London
    Posts
    1,577
    Tokens
    36

    Latest Awards:

    Default

    If they're on the same host then you can use localhost .. and if remotely connecting isn't working then I suggest you put the forum and site on the same host.
    Kind Regards,

    Guy
    __________________

    Since 2007. Unbelievable Uptime. Web hosting, resellers, master resellers, linux VPS, windows VPS, shoutcasts, at the lowest prices on the net.
    Tech-Hosts.co.uk.


  6. #6
    Join Date
    May 2006
    Location
    Hull
    Posts
    7,701
    Tokens
    2,430
    Habbo
    Moh

    Latest Awards:

    Default

    Im just going to add the file on the forum server until the forums on the same server as site

  7. #7
    Join Date
    Nov 2007
    Location
    London
    Posts
    1,577
    Tokens
    36

    Latest Awards:

    Default

    Quote Originally Posted by Jack120 View Post
    Im just going to add the file on the forum server until the forums on the same server as site
    Haha yeah, easier solution.
    Kind Regards,

    Guy
    __________________

    Since 2007. Unbelievable Uptime. Web hosting, resellers, master resellers, linux VPS, windows VPS, shoutcasts, at the lowest prices on the net.
    Tech-Hosts.co.uk.


  8. #8
    Join Date
    Mar 2008
    Posts
    5,108
    Tokens
    3,780

    Latest Awards:

    Default

    Use Navicat for MySQL and go into cPanel and set the access host to your IP


  9. #9
    Join Date
    Oct 2007
    Posts
    824
    Tokens
    71

    Latest Awards:

    Default

    Try adding :3306 to the end of the url (mySQL's port)

    Example:
    255.255.255.255:3306
    Last edited by Trigs; 03-07-2008 at 07:11 PM.

Posting Permissions

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