How can I get started using MySQL?

I'm really new to jdbc and was wondering if someone could offer some help on where to get started with using java and mysql. I'm not sure if I need extra packages or what and resource of info would be great.
Thanks

Hi,
if I knew your environment I would have given you a better response, anyway, for now take this as a general guide
All the instructions here are documented either in JDBC Tutorial or MySQL documentation.
1) download the lastest JDBC Driver from mysql website:
http://www.mysql.com/downloads/api-jdbc-stable.html
You download either one gz or zip files depends on your OS and unzip it.
2) place the jar file:mysql-connector-java-3.0.9-stable.jar into your CLASSPATH;
3) Thats it, just follow the direction in the JDBC Tutorial, like normal,
MySQL driver class name is: org.gjt.mm.mysql.Driver
the URL: jdbc:mysql://<host>:<port default=3306>/<database>?autoReconnect=ture
and change the host, port , and database according to your settings!
Note: I really do not recommend you using the JDBC-ODBC bridge, because it is a solution only if you do not have a direct JDBC driver to your database, its overhead anyway.
Good luck!

Similar Messages

  • How can I get started if I am not an advanced user but still want to config ATS660 external trigger?

    There r 2 groups VIs provided by the company: easy VIs and advanced VIs. And set external trigger VI is in the latter one. The manual indicates that only the person who r very familar with the ATSApi Application Programming Interface should attempt using the Advaced VIs. Unfortunately I am not that kind of advanced user. If I want to learn all these stuff(like how to call the VIs in correct order), how can I get started?
    I will be really appreciated if I can get some help here.  all I have now is the ATS660 User Manual and ATS-VI Software Manual. I wonder if there should be other useful manuals, like NI-DAQ user manual that can help to understand how to call/config the device in right order.
    Thank u in advance.
    Dyna----an eager learner

    ya, u r right. That was what happened to me.
    The company is Alazartech. This is a PCI waveform digitizer.
    I've visited the www.alazartech.com , and found no further info about how to call this subVIs in correct order. So I am asking here , hope that any one is familiar with this stuff.
    Anyway, thank u for ur reply.
    I will keep focusing here and expecting some replies.
    Dyna

  • HT1937 How can I get to use my phone?  Much of it appears to be set up but when I try and make a call it tells me I have not been given access to this service

    How can I get to use my phone?  When I try and dial out it says:  'You have not been given access to this service'

    Have you chacked with your carrier.  The message you are getting seems to relate to a carrier issue and not something to do with the phone itself

  • I just got an Iphone 4. How do I get started using it?

    I just got an Iphone 4. How do I get started using it?

    Start here:
    http://manuals.info.apple.com/en_US/iphone_user_guide.pdf

  • New to this trial how can I get started?

    I just signed up for this trial version of Adobe Audicion. The systems takes you trough many loops, how can I get started? Hopefully before the trial period ends..

    Where are you having problems? Does it install OK?

  • How can i get started with messaging in java

    how can i get started with messaging in java

    If you're talking about writing mail clients in java, you might want to start with a better forum. We're focused on Messaging Servers, here. Unlikely you'll get any Java programming from us.
    If you're talking about Messaging Server, start by downloading the software from sun.com/downloads.

  • How can i get started with iChat

    How can I get to talk to a friend who uses @mac.com if I log in with my gmail account?

    While we all have MacBooks in this forum not all of us use iChat. There's a iChat Support Community where everybody uses iChat. You should also post this question there to increase your chances of getting an answer. 
    https://discussions.apple.com/community/applications/ichat

  • How do i get started configuring MySql

    I have a Xserve G5 running OS X 10.5.6. I am new to this and I haven't got much experience using MySql on OS X Server. Can any one help explaining how to configure MySql for mear mortals. Starting the service is of corse simple but the steps involved from that point on are where im getting lost.
    my apologies for the vagueness however the literature on the internet is vary vague and limited.
    ~Thanks

    Hi,
    I have setup mysql for use with a rails project using the version installed with server 10.5 and associated directory dependencies as given in the Web Technologies setup manual. I think there are other posts providing efforts to install a separate mysql from scratch.
    Anyway - my procedure was setup MySQL Service in Server Admin
    Initial Conditions:
    I wanted my databases to be stored on an external drive:
    1. Server -> Settings -> Services with MySQL checked. Save panel.
    2. Set permissions on /Volumes/<ext drive folder path>
    owner = _mysql, group = admin
    owner rwx, group rx, world rx (r=read, w=write, x=execute)
    MySQL Settings panel
    1. Check – Allow network connections (if connecting remotely)
    2. Set database location to - /Volumes/<ext drive folder path>
    3. Set MySQL Root Password – xxxxxxxx
    4. Save and start MySQL service
    5. In MySQL logs verify MySQL daemon started
    and datadir = /Volumes/<ext drive folder path> with log entries for service up and running
    6. In Terminal create a database:
    mysqladmin –u root –p create <database name>
    Note that database names are lowercase (case insensitive file names)
    from here you can access the database with the tool of your choice. For a ruby on rails application I was able to upload data with fixtures and interact with the data through the script/console.
    HTH,
    Harry

  • How do I get started using my new 3GS for apps?

    Help. I am on a family plan and am 1 of 4 lines.
    I am the only one with iphone 3. How do I download
    aps? and which "passwords" etc. do I use to get
    started? I am all new at this.

        I love explaining iPhone concepts from scratch. You say you have the iPhone 3GS. If you have purchased this phone after 10/11/11, than that means you are running iOS 5, the latest version of your phone's ability, in simpler tems, you got all the new stuff on your phone that Apple released except for Siri.
        Now that we have that settled we can download an app. You start by finding the app titled "App Store" on your phone's homescreen. You lightly tap the app with your finger (not your fingernail). You have now entered into the hub of all apps (consists of games, utilities, business helpers, games, etc.) You should see five buttons on the bottom of your screen. If you want to download an app that is "all the rage" right now, press either the "Top 25" or "Featured" buttons. If you are looking for a certain app genre, tap the "Categories" button. If you know an app you specifically want by name, press the "Search" button, then tap on the white bar on the top of the screen and type in the app's name. Next, no matter what app you chose, when tapping it's name or logo, you are taken to it's description.
        You picked out an app you like, good for you. You can read it's description on this download page, look at screenshots of the app, gift the app (if the app is not free), and look at reviews from other people with this app all before you download it onto your phone. To finally proceed dowloadig the app, scroll to the top of the app's page and press the button in the top right corner that should either say "FREE" if the app is free, ".99" if the app costs a dollar, or "INSTALL" if you or someone else sharing your iTunes Store account has purchased this app. No matter what it says, you tap that button twice for confirmation, and then... here comes the password part.
        The password is for your Apple ID. Your Apple ID is like your username on a social network. The only difference is that instead of any username, it has to be an Email address. If you honestly do not know which Email address you used to be your Apple ID, you can find it by pressing the "Top 25" button in the App Store and scrolling all the way down. If you are logged in, it should say "Apple ID:[email protected]" or something. If you see your Email address there, you can press it and press the "iForgot" button to get your password Emailed to you on that address. If you don't see this, you are not logged in. this means you must try to log in if someone else in your family knows if you even have an Apple ID. If you now are sure you do not have an Apple ID you must make an Apple ID which will take a while. You will have to choose an Email address you can access to be your ID, a password you can remember, your billing info, and three emergency questions for recovering your account. once that is settled, you log into this account on your phone by tapping the button in the location I stated before (bottom of the Top 25 tab). You type in your password which you hopefully now know, you now revisit the app you wanted to dowload, reach the password imput screen that I had guided you to, and you type in your passowrd one last time after doing so, you will be forced out of the store, and you get to watch your app install. i recommend you be at home under wifi if this is a large app. After doing this, you will shortly be able to download more apps from the store without even nedding to type in your password. I just hope you remeber your password for when it askes you again the next time.
    Good luck!

  • My IP cameras need ActiveX to record, how can I get ActiveX using Firefox?

    I need to record on my IP cameras (Foscam and Wanscam) and need to use ActiveX controls. I only know of Internet Explorer having this add-on. My default browser is Firefox. I can open the cameras using Firefox, but cannot record. How can I download ActiveX to Firefox or is there something else I can use.
    Thank you.

    You would need other means to control the camera like a Java applet or a web based interface to be able to use the camera by other browsers apart from IE.

  • FAQ: How do I get started using SpeedGrade

    Here are some excellent resources to help you get started with SpeedGrade:
    Getting Started with SpeedGrade
    SpeedGrade tutorials on Adobe TV

    Here are some excellent resources to help you get started with SpeedGrade:
    Getting Started with SpeedGrade
    SpeedGrade tutorials on Adobe TV

  • After purchasing Creative Cloud 1 year package-- how can I get on using each software?

    Where Can I start the Indesing, for example?
    Nowhere I can find the start point.
    Please let me know.

    Hi,
    I believe you are stuck at the installation of the applications.
    Please refer to the help document below to know the steps:
    Creative Cloud Help | Install, update, or uninstall apps
    Hope that helps!
    Regards,
    Sheena

  • How do I get started using Essbase?

    Hi all,
    I'm a newbie to Essbase, and Business Intelligence. I went to a training/demo in March but have just done my first install to try it out for myself. (I'm a Java developer by training.)
    So, I've installed Hyperion EPM 11.1.1.1 on my Windows XP desktop. I installed Foundation Services, Essbase, Web Analysis, and Workspace with the intention of creating some drillable reports and/or graphs on some client that I recently used for OBIEE Dashboards.
    Please help either with the below errors or any other resources that can get me started (examples, walkthroughs, blogs, etc.).
    Thanks, Mark
    Connecting to my Administration Server with EAS:
    Administration Server: localhost
    Username: admin
    Password: password
    Server Error:
    Could not connect to Administration Server
    Connecting to/starting the Essbase server:
    EPM System Diagnostic:
    FAILED Essbase server Essbase Server startup check using Maxl command
    Error: Result: Unable to connect Essbase Server using MAXL command. Please check that essbase server is running.
    Recommended Action: Check Essbase Server is started
    Start EPM System:
    C:\Hyperion\products>REM eis
    C:\Hyperion\products>net start "Hyperion Integration Services"
    The requested service has already been started.
    More help is available by typing NET HELPMSG 2182.
    C:\Hyperion\products>REM EssbaseStudio
    C:\Hyperion\products>C:\Hyperion\products\Essbase\EssbaseStudio\Server\startServ
    er.bat
    C:\Hyperion\products>setlocal
    C:\Hyperion\products>set CONFIGTOOL_HOME="C:\Hyperion\common\config\9.5.0.0"
    C:\Hyperion\products>call ""C:\Hyperion\common\config\9.5.0.0"\setJavaRuntime.ba
    t"
    Logging configuration file is not found. Expected filename is C:\Hyperion\produc
    ts\.\server.properties
    Log file location is:
    C:\Hyperion\logs\esbstudio\server.log
    17:01:36 11/24/08 INFO Starting up
    17:01:36 11/24/08 INFO Oracle Essbase Studio Server. Version 11.1.1.1.00, Bui
    ld 114, October 7 2008
    17:01:38 11/24/08 (system) WARNING Failed to load driver for sap
    17:01:38 11/24/08 (system) WARNING Failed to load driver for mysql
    17:01:38 11/24/08 (system) SEVERE Cannot load Netezza connector
    17:01:38 11/24/08 (system) WARNING Failed to load driver for netezza
    17:01:38 11/24/08 (system) SEVERE Cannot establish connection to Oracle server
    17:01:38 11/24/08 (system) SEVERE Cannot establish connection to Oracle server
    17:01:38 11/24/08 (system) SEVERE Cannot initialize catalog storage. Make sure
    that server.properties has correct information
    -------------- Exception --------------
    com.hyperion.cp.catalog.exceptions.CatalogInitializationException: catalog.Ca
    talogInitializationException.StorageInitializationFailure
    at com.hyperion.cp.catalog.storage.StorageFactory.getStorageInstance(Sto
    rageFactory.java:155)
    at com.hyperion.cp.catalog.transaction.TransactionManager.initialize(Tra
    nsactionManager.java:64)
    at com.hyperion.cp.catalog.Catalog.initialize(Catalog.java:98)
    at com.hyperion.cp.catalog.Catalog.initialize(Catalog.java:156)
    at com.hyperion.cp.catalog.Catalog.<init>(Catalog.java:85)
    at com.hyperion.cp.catalog.Catalog.<clinit>(Catalog.java:73)
    at java.lang.Class.forName0(Native Method)
    at java.lang.Class.forName(Unknown Source)
    at com.hyperion.cp.catalog.CatalogInitializer.run(CatalogInitializer.jav
    a:54)
    at com.hyperion.cp.server.RequestListener$SystemTask.run(RequestListener
    .java:1302)
    at com.hyperion.cp.server.RequestListener.runSystemTask(RequestListener.
    java:167)
    at com.hyperion.cp.server.RequestListener.<init>(RequestListener.java:12
    9)
    at com.hyperion.cp.server.ServerMain.main(ServerMain.java:202)
    Caused by: java.lang.reflect.InvocationTargetException
    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Sou
    rce)
    at java.lang.reflect.Constructor.newInstance(Unknown Source)
    at com.hyperion.cp.catalog.storage.StorageFactory.getStorageInstance(Sto
    rageFactory.java:149)
    ... 12 more
    Caused by: com.hyperion.cp.catalog.exceptions.CatalogInitializationException: No
    table EPMUSER.CP_NONE_TRANSACTIONS found
    at com.hyperion.cp.catalog.storage.StorageEngine.validateSignature(Stora
    geEngine.java:193)
    at com.hyperion.cp.catalog.storage.StorageEngine.<init>(StorageEngine.ja
    va:87)
    at com.hyperion.cp.catalog.storage.SQLStorageEngine.<init>(SQLStorageEng
    ine.java:20)
    ... 17 more
    ----------------------------------------

    Check to see if Essbase and EAS are services. If they are, are they started? You can also start them in foreground. For EAS, go to Start->programs->Hyperion->Adminstrative servives-> start server. It should start up a tomcat window.
    Typically, you have to start Essbase once in foreground. (Go to start->Hyperion->Essbase->Essbase and click it. IT will want the company info, admin user id and password.

  • How can i get starting offset of logical drives?

    I want to use so recomended Storage Management API Classes, but i can't find way to retrive starting offset of the logical drive

    Hi,
    This forum is to discuss problems of C# development. Your question is not related to the topic of this forum.
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • How can i get started submitting my podcast

    Trying to start a podcast on itunes just dont know where to start.  On my website its asking for url from itunes and read up on the link to itunes states I need to registar but cant find any where to registar.  Little help if any please.

    May I suggest that you read my 'get you started' page on podcasting which will give you a lot of basic information.
    http://rfwilmut.net/pc
    Then if you have further questions please do come back and ask them. Always post any details; your website, and your feed URL if you have one.

Maybe you are looking for

  • Canon's raw files (.CR2) in Adobe Camera Raw

    I shoot in RAW+jpeg and have my camera set at a 'picture style' where it adds a small amount of contrast to my images. I think if I open up the RAW file in Canon's proprietary RAW converter it will read that contrast information and apply it. But I h

  • HT204384 My SD card wont read in FInder but will show in disk utility, any advice?

    Hi, my card reader started to become inconsistant over the last week and it has now stopped reading cards all together. It will show up in Disk utility so i can format it etc but it just wont show in the Finder section. When i remove the card without

  • Unpack.sh doesn't work WLS 11g (10.3.2)

    Hi All, We are using wls_10.3.2 (11gR1). After packing a domain created at the hostA, the unpack script causes an error at the hostB as follows: 2010-05-21 18:49:30,173 INFO [runScript] com.bea.plateng.domain.script.ScriptExecutor - read template fro

  • Setting up my songs as ringtones

    please can anyone advice me on how to set up the songs i have on my phone as ringtone....tell me the steps to follow ...cheers Post relates to: Treo 680 (Unlocked GSM)

  • Get postion from vacancy when transfer applicant data

    Dear all, Pls tell me how to get postion from vacancy when transfer applicant data? At the Initial data entry, i chose the advertisement that determine vacancy. But when transfer data, i have to choose the position again. Best reagrds, Quanglv