Thread: Question [SQL]

Results 1 to 5 of 5
  1. #1 Question [SQL] 
    Registered Member
    Join Date
    Jan 2007
    Posts
    119
    Thanks given
    7
    Thanks received
    1
    Rep Power
    5
    I have a website that is hosted on hosting company and I rune my server from my computer. I want to ask you all. Is it possible connect with mysql from my computer to website that is hosted? Because in mysql.java all data and I get connection problem to host mysql...
    Reply With Quote  
     

  2. #2  
    Registered Member
    Join Date
    Jan 2007
    Posts
    119
    Thanks given
    7
    Thanks received
    1
    Rep Power
    5
    help me please
    Reply With Quote  
     

  3. #3  
    Officially Retired

    Huey's Avatar
    Join Date
    Jan 2008
    Age
    22
    Posts
    16,478
    Thanks given
    3,385
    Thanks received
    7,727
    Rep Power
    5000
    Yes it's possible
    Attached image
    Listen children don't become this guy.
    Quote Originally Posted by Owner Spikey View Post
    Why can I attack lower level npc's in a matter of a mouse hover but for a higher level npc the only choice to attack is by right clicking option attack?

    Reply With Quote  
     

  4. #4  
    Registered Member
    Join Date
    Jan 2007
    Posts
    119
    Thanks given
    7
    Thanks received
    1
    Rep Power
    5
    Thanks for answer , but I got another question.

    con = DriverManager.getConnection("jdbc:mysql://mysite.com/carnage_vote", "database username", "mypassword");

    Or on mysite.com do I need type dns ip or that database ip? If I put database ip I still can't connect :\
    Reply With Quote  
     

  5. #5  
    Registered Member

    Join Date
    Oct 2009
    Posts
    115
    Thanks given
    3
    Thanks received
    5
    Rep Power
    105
    You put in the database info that your host provides.

    If you're using a free web host, most of them don't allow remote SQL connections so that could be your problem.
    Reply With Quote  
     


Thread Information
Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)


User Tag List

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