Can not connect  to host  where the data base is hosted

sql.free.fr is where the data base is hosted
String host = "jdbc:mysql://sql.free.fr/
her's the code
public f()
String pilote = "org.gjt.mm.mysql.Driver";
String host = "jdbc:mysql://sql.free.fr/";
String login = "login";
String pw = "password";
setTitle("Programmation avanc�e Java II (NicoWatt)");
setSize(x,y);
setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
show();
TM = new TMFromMysql(pilote,host,login,pw,"select * from TCar");
JTable T = new JTable(TM);
JScrollPane JSP = new JScrollPane(T);
JSP.setPreferredSize(new Dimension(x,y));
getContentPane().add(JSP,BorderLayout.CENTER);
pack();
}

Basic network debugging:
1. Try to ping the server; at the command line, type "ping sql.free.fr" and see what happens.
If that fails then you have a network connectivity problem. Talk to the person who controls your network (the point where you connect to the Internet) and discuss it.
2. Try to connect to the server at the same port that MySQL is using (normally 3306 but confirm that with the people running it); at the command line, type "telnet sql.free.fr 3306" and see if you get a connection.
If that fails, then again you have a problem. Again discuss this with your network person. There are several reasons why these may fail (proxy servers, firewalls, and so on) and you will get better answers from people who know about the network then from random strangers on the Internet.

Similar Messages

  • HT4623 I can not connect my Ipad to the internet

    I can not connect my Ipad to the internet

    We cannot help unless you provide some more information. You have to let us know what you have tried, where you tried it ....

  • HT3986 After installed win7 on my mac pro(mid 2012/mountain lion), I can not connect internet and where can i find drivers in mountain lion system

    After installed win7 on my mac pro(mid 2012/mountain lion), I can not connect internet and where can i find drivers in mountain lion system.
    I donot think I have a install disk when I bought my mac, there is only a disc partition for recovery system.

    Welcome to the Apple Support Communities
    You have to install Boot Camp drivers. On Mountain Lion, you have to download them.
    First, press X key while your Mac is starting to start into OS X. Then, open Boot Camp Assistant and select the option to download the drivers. You will have to burn them into a DVD or USB drive, so after downloading them, restart and install them into Windows

  • HT201263 Hi when i connect my iphone to pc to use itunes it said :iphone can not connected to itunes bcs the device service is not started so ido not know what can i do!

    phone can not connected to itunes bcs the device service is not started so ido not know what can i do!

    restart apple mobile device in windows http://support.apple.com/kb/TS1567

  • HT2188 I just got an iPad mini, when I try to upload my iPhone backup from my Mac i get the message to upgrade my iTunes. I can not seen to find where the download link is for iPads on apple website. Can anyone help?

    I just got an iPad mini, when I try to upload my iPhone backup from my Mac i get the message to upgrade my iTunes. I can not seen to find where the download link is for iPads on apple website. Can anyone help?

    The message is referring to iTunes on your computer, not the iPad : http://www.apple.com/itunes/download/
    The built-in apps on the iPad can only be updated via iOS updates, so if your iPad mini is on iOS 6.0.2 then its up-to-date

  • Re: Does anyone know where the data base

    We do maintain a searchable indexed archive at
    http://pinehurst.sagesoln.com/listarchive. Recently because of Sage office
    moves and other IT intensive activities I've been lax about getting it
    updated. I'll try to get it straightened out in the next week or so.
    Jamie Fox
    Systems Administrator
    Sage IT Partners
    [email protected]
    (415) 399-7210
    David Trudell wrote:
    >
    that contains a history of all the messages sent reside? I tried looking on
    sageit.com, but I couldn't find it.
    Thanks
    David Trudell
    There are two major products to come out of Berkeley: LSD and
    UNIX. We don't believe this to be a coincidence.
    To unsubscribe, email '[email protected]' with
    'unsubscribe forte-users' as the body of the message.
    Searchable thread archive <URL:http://pinehurst.sageit.com/listarchive/>

    David,
            Try this:
                                <a
    href=
    "http://pinehurst.sageit.com/listarchive/">http://pinehurst.sageit.com/listarchive/</a>
    <http://pinehurst.sageit.com/listarchive/>
    -----Original Message-----
    From: David Trudell [mailto:[email protected]]
    Sent: Wednesday, January 20, 1999 2:18 PM
    To: [email protected]
    Subject: Does anyone know where the data base
    that contains a history of all the messages sent reside?  I tried looking on
    sageit.com, but I couldn't find it.
    Thanks
    David Trudell
    There are two major products to come out of Berkeley: LSD and
    UNIX.  We don't believe this to be a coincidence.
    To unsubscribe, email '[email protected]' with
    'unsubscribe forte-users' as the body of the message.
    Searchable thread archive <URL:http://pinehurst.sageit.com/listarchive/>

  • How can we make a call to the Data base in the SAP Scripts?

    Hi All,
            How we make a call to the data base in scripts?
    I think we can use the PERFORM statement to achieve the above functionality.
    Pls correct me if i am wrong?
    Regards
    Abhilash.

    Hello.
    If you want to access database in the script itself (not in print program) yes, you can use PERFORM statement.
    In your script, use:
    /: PERFORM F_FORM IN PROGRAM ZRFIRFS05
    /: USING &VAR1&
    /: CHANGING &VAR2&
    /: ENDPERFORM
    Then, create a program ZPROG (ZRFIRFS05 in my case) with a structure like this one:
    REPORT ZRFIRFS05 .
    FORM f_form TABLES in_par STRUCTURE itcsy out_par STRUCTURE itcsy.
      DATA: l_data1(10).
      READ TABLE in_par WITH KEY name = 'VAR1'.
      CHECK sy-subrc = 0.
      l_data1 = in_par-value.
    *  SELECT .... "YOUR SELECT TO DATABASE
      READ TABLE out_par WITH KEY name = 'VAR2'.
      CHECK sy-subrc = 0.
      out_par-value = l_data3.
      MODIFY out_par INDEX sy-tabix.
    ENDFORM.
    Regards.
    Valter Oliveira.

  • How can i connect to sites where the connection is not encripted?

    I do a search in google and continue to not be able to open the sited and when I point at the icon next to the site name I see "This web site does not present identity information. Your connection to this site is not encripted and the site won't open". How do open these sites?

    1.Verify that airplane mode is off by tapping Settings > Airplane Mode.
    2.Reset the network settings by tapping Settings > General > Reset > Reset Network Settings. 
Note: This will reset all network settings, including Bluetooth pairing records, Wi-Fi passwords, VPN, and APN settings
    3.Ensure that your device is using the latest software. To do so, connect your device to your computer and check for updates in iTunes.
    4.If your issue is still unresolved, perform a software restore in iTunes

  • HT1424 the vpn on my ipod touch is not connected and my wi-fi can not connected is due to the vpn off?

    My ipod touch is not able to join the network is that happening because of the vpn is not connected either?

    What type of encryption are you using? WPA/WPA2/WEP?
    Have you worked through the other suggestions in this Apple support document?
    iOS: Troubleshooting Wi-Fi networks and connections
    What about trying to use the recommend access point and Wi-Fi router settings in this document?
    iOS: Recommended settings for Wi-Fi routers and access points
    B-rock

  • I can not connect my iPhone in the UK?

    iPhone shows no service in the UK what's the problem?

    It has to be unlocked of add global plan

  • I do not know why, but I can not go to the App Store! before I went there without any problems but now I can not connect with App Store

    I do not know why, but I can not go to the App Store! before I went there without any problems but now I can not connect with App Store

    Open the Finder. From the Finder menu bar click Finder > Go > Go to Folder
    Type or copy/paste:   ~/Library/Cookies
    Click Go then move the com.apple.appstore.plist file from the Cookies folder to the Trash.
    Try the App Store.

  • My imac running lion can not connect to a Windows PC on my network

    My imac runing lion 10.7 can not connect to my Windows 7 pc on my network. When i select connect to server, I can see the windows computer but when i try to connect, i get the error message:
    Connection failed.  There was a problem connecting to the server.  Ther server may not exist or is unavailable at this time.  Check the server name or IP address, check your network connection and try again.
    I entered smb:// computer name and I tried smb://IP address.  Neither would connect.
    I am able to connect to the imac from my Window PC and access files but not I can not connect my iMac to the Windows PC.
    I am trying to connect the two computers so that I can use a printer that is attached to the Windows 7 pc.
    When I first downl;oaded and installed Lion, I was able to connect to the Windows 7 pc and use the printer attached to it.
    I have tried 5 or 6 different suggestions to no avail.  Both computers are up to date and the printer drivers are up to date.
    Please let me know if there is a solution.

    Be sure to make the network Workgroup name on the Mac and Windows boxes the same.
    On the Mac it is in System Preferences, Network Preferences, Advanced, WINS
    On the Windows machine check in the Control Panel where you will also find the Computer name listed. I don't have my PC running right now, so I am not sure exactly where it is. Only assign a Workgroup, do not create a Domain.
    You can also search in Windows for Workgroup.
    I can link/network Lion to Win7 and vice versa without any problems.

  • Apple tv can not connect to library when wired to modem instead of wifi

    My network consists of a Fios router, which I have shut off the wireless on. That is wired into a Nighthawk wireless router. So, there is only 1 wifi network.
    The Fios router is wired directly into 3 Apple TVs.  I am unable to airplay onto the AppleTVs nor is AppleTV able to find my Library (it finds the name and then can not connect). I presume the issue relates to the AppleTVs being wired into the modem - and even though that is wired directly into my wireless router, when I am on a wireless device in my house, it can not reach through the wifi router and to the modem, which connects to the AppleTVs. Similarly, the AppleTVs seem unable to reach back through the Fios router, through the wired connection to the wireless router, which is connected via wifi with my computer with iTunes running on it. Other than wiring the AppleTVs directly into the wireless router (instead of the Fios modem). I would have thought that the modem and wireless router would act as a single network if wired together, but that appears not to be the case. Thank you

    PROBLEM SOLVED! holy crap i feel dumb.
    Connect360 was running in the background on my Mac. I've noticed when I have my Mac streaming to my Apple TV, and when Connect360 is pulling from iTunes as well-they like to fight. I disabled Connect360 and my library popped right up.
    Thanks for the help.

  • I just downloaded the latest OS upgrade and since I can not connect to the internet using my cellular data plan.

    I just downloaded the latest iOS.7 upgrade on my ipad2, and since I can not connect to the internet using my cellular data plan.  I have checked my data plan and it's both current and over 2GB remaining.  However the indicator shows no service, thus would be the best steps to recover.  Thanks much for any support that can be provided.

    Hello Kmart2@3
    Check out the troubleshooting article below to get cellular to start working again. 
    iPad (Wi-Fi + Cellular Models): Troubleshooting a cellular data connection
    http://support.apple.com/kb/TS4249
    Regards,
    -Norm G.

  • Record about my phone (bought in Verizon store and connected to Verizon for 4 years) has been corrupted and now I can not make any changes to my data plan. Several sessions with the technical support and management have not resolved this issue. Each time

    Record about my phone (bought in Verizon store and connected to Verizon for 4 years) has been corrupted and now I can not make any changes to my data plan. Several sessions with the technical support and management have not resolved this issue. Each time technical people and top managers promised that this issue will be resolve tomorrow and they will cal me. Nothing happend!! I can not even cancel my service not just to upgrade it. Completely locked. 
    Any advice?
    Thanks.
    Alex.

    Cannot figure out what your talking about since it makes no sense.
    If you are the account owner you can go to the My Verizon web portal http://www.verizonwireless.com
    You must log in with your cell number and your my Verizon portal password. Not the account pin.
    Once there you can change your plan and services. However repeated incorrect login attempts will lock you out of the site. It a fraud prevention measure.
    1-800-922-0204 call support with your cell number and or account number and account pin and they can assist you.
    If you don't have the information then there is nothing they can do.
    If you can verify who you are they may be able to reset your account access. But only if you are the account owner.
    Good Luck

Maybe you are looking for

  • Distorting text/images in converting from pmd to pdf

    My company uses PageMaker 7.0 to create our manuals and brochures and then converts them into pdf's. I've run into this problem before and found that if I didn't properly place or import an image (not copy and paste an image or text) that once conver

  • Changing the Fluid Grids Once they have been set up

    Hi - I have set up a fluid grid site for a client which has a 10, 20 and 24 grid layout for the three versions. http://www.discoslough.co.uk There is a nav bar to the left in each version and the rest of the columns are split evenly. There's the nav

  • CCMS agents, alert monitoring, SNMP traps

    Hi Guys, I have a question. There is a requirement about monitoring. Any documenation or links will be really appreciated. My client needs me to use CCMS agents, alert monitoring for both ABAP and JAVA stacks, SNMP traps, sending SNMP traps, interfac

  • Emailing photos from iphoto

    How do I send photos from iphoto as an attachment rather than having them embedded in the email?

  • Can't drag video only to program screen

    I have been doing video only drag to a music bed for trailer. After adding a music stinger to the audio bed. I could not drag video only to the program screen - I would get a hand with a circle with a slash through it. I could do a audio and video to