How to connect mysql to my palm devices?

hi, need help on how to connect mysql to my palm devices? is there anyone know to do connect mysql to palm devices using wireless toolkit?
thanks

Midlet:
os.writeUTF(db.trim());
os.writeUTF("\r\n");
os.writeUTF(user.trim());
os.writeUTF("\r\n");
os.writeUTF(pwd.trim());Servlet:
String db = in.readLine();
String user = in.readLine();
String pwd = in.readLine();If it works, that's just luck, but it's completely wron.! Why? Read the api doc's of DataOutputStream!

Similar Messages

  • How to connect mysql database using xml

    welcome to all,
    here my doubt is how to connect mysql database using xml file, how to integrate xml file and jsp file and how to access data from dabase using jsp file. can any one help me
    regards

    Short answer: you wouldn't do any of those things. The first two are meaningless and the third is a bad practice. I have no idea what those ideas were supposed to achieve so I have no idea what tutorials I should suggest to you.

  • How to Connect MySQL Database Through JTable?

    Hi,
    How to Connect MySQL Database Through JTable? anyone of u knows these concept please send me coding of that Part..
    Thanks,
    Guru..

    Start by reading the tutorials. There's a section on Swing which shows you how to use tables and a section on JDBC which shows you how to use SQL.
    And you can always search the forum as well since there are working examples of both posted on the forum.
    If you need further help with a specific problem then you need to create a [Short, Self Contained, Compilable and Executable, Example Program (SSCCE)|http://homepage1.nifty.com/algafield/sscce.html], that demonstrates the incorrect behaviour.
    Don't forget to use the [Code Formatting Tags|http://forum.java.sun.com/help.jspa?sec=formatting], so the posted code retains its original formatting.

  • How to connect mySQL database with jdbc

    Who can tell me how to connect mySQL database with jdbc? Thanks

    http://onesearch.sun.com/search/developers/index.jsp?and=connect+mysql&nh=10&phr=&qt=&not=&field=title&since=&col=devforums&rf=0&Search.x=24&Search.y=16

  • How to connect MySql database with JSP

    Dear everyone,
    how to connect MySql database with JSP......

    It's too bad that nobody has ever asked this question before...

  • How to connect mysql and oracle 10g by UTL_HTTP?

    how to connect mysql 5.0 and oracle 10g r2 by UTL_HTTP?what to do for this url connection exactly?

    cant i change anything to stup a link?
    SQL> desc utl_http
    PROCEDURE ADD_COOKIES
    Argument Name               Type               In/Out Default?
    COOKIES               TABLE OF RECORD      IN
    FUNCTION BEGIN_REQUEST RETURNS RECORD
    Argument Name               Type               In/Out Default?
       URL                    VARCHAR2(32767)      OUT
       METHOD               VARCHAR2(64)          OUT
       HTTP_VERSION           VARCHAR2(64)          OUT
       PRIVATE_HNDL           BINARY_INTEGER          OUT
    URL                    VARCHAR2          IN
    METHOD                VARCHAR2          IN     DEFAULT
    HTTP_VERSION               VARCHAR2          IN     DEFAULT
    PROCEDURE CLEAR_COOKIES
    PROCEDURE CLOSE_PERSISTENT_CONN
    Argument Name               Type               In/Out Default?
    CONN                    RECORD               IN
       HOST                VARCHAR2(256)          IN
       PORT                BINARY_INTEGER          IN
       PROXY_HOST               VARCHAR2(256)          IN
       PROXY_PORT               BINARY_INTEGER          IN
       SSL                    BOOLEAN           IN
    PROCEDURE CLOSE_PERSISTENT_CONNS
    Argument Name               Type               In/Out Default?
    HOST                    VARCHAR2          IN     DEFAULT
    PORT                    BINARY_INTEGER          IN     DEFAULT
    PROXY_HOST               VARCHAR2          IN     DEFAULT
    PROXY_PORT               BINARY_INTEGER          IN     DEFAULT
    SSL                    BOOLEAN           IN     DEFAULT
    PROCEDURE END_REQUEST
    Argument Name               Type               In/Out Default?
    R                    RECORD               IN/OUT
       URL                    VARCHAR2(32767)      IN/OUT
       METHOD               VARCHAR2(64)          IN/OUT
       HTTP_VERSION           VARCHAR2(64)          IN/OUT
       PRIVATE_HNDL           BINARY_INTEGER          IN/OUT
    PROCEDURE END_RESPONSE
    Argument Name               Type               In/Out Default?
    R                    RECORD               IN/OUT
       STATUS_CODE               BINARY_INTEGER          IN/OUT
       REASON_PHRASE          VARCHAR2(256)          IN/OUT
       HTTP_VERSION           VARCHAR2(64)          IN/OUT
       PRIVATE_HNDL           BINARY_INTEGER          IN/OUT
    PROCEDURE GET_AUTHENTICATION
    Argument Name               Type               In/Out Default?
    R                    RECORD               IN/OUT
       STATUS_CODE               BINARY_INTEGER          IN/OUT
       REASON_PHRASE          VARCHAR2(256)          IN/OUT
       HTTP_VERSION           VARCHAR2(64)          IN/OUT
       PRIVATE_HNDL           BINARY_INTEGER          IN/OUT
    SCHEME                VARCHAR2          OUT
    REALM                    VARCHAR2          OUT
    FOR_PROXY               BOOLEAN           IN     DEFAULT
    PROCEDURE GET_BODY_CHARSET
    Argument Name               Type               In/Out Default?
    CHARSET               VARCHAR2          OUT
    FUNCTION GET_BODY_CHARSET RETURNS VARCHAR2
    PROCEDURE GET_COOKIES
    Argument Name               Type               In/Out Default?
    COOKIES               TABLE OF RECORD      IN/OUT
    FUNCTION GET_COOKIE_COUNT RETURNS BINARY_INTEGER
    PROCEDURE GET_COOKIE_SUPPORT
    Argument Name               Type               In/Out Default?
    ENABLE                BOOLEAN           OUT
    MAX_COOKIES               BINARY_INTEGER          OUT
    MAX_COOKIES_PER_SITE          BINARY_INTEGER          OUT
    PROCEDURE GET_DETAILED_EXCP_SUPPORT
    Argument Name               Type               In/Out Default?
    ENABLE                BOOLEAN           OUT
    FUNCTION GET_DETAILED_SQLCODE RETURNS BINARY_INTEGER
    FUNCTION GET_DETAILED_SQLERRM RETURNS VARCHAR2
    PROCEDURE GET_FOLLOW_REDIRECT
    Argument Name               Type               In/Out Default?
    MAX_REDIRECTS               BINARY_INTEGER          OUT
    PROCEDURE GET_HEADER
    Argument Name               Type               In/Out Default?
    R                    RECORD               IN/OUT
       STATUS_CODE               BINARY_INTEGER          IN/OUT
       REASON_PHRASE          VARCHAR2(256)          IN/OUT
       HTTP_VERSION           VARCHAR2(64)          IN/OUT
       PRIVATE_HNDL           BINARY_INTEGER          IN/OUT
    N                    BINARY_INTEGER          IN
    NAME                    VARCHAR2          OUT
    VALUE                    VARCHAR2          OUT
    PROCEDURE GET_HEADER_BY_NAME
    Argument Name               Type               In/Out Default?
    R                    RECORD               IN/OUT
       STATUS_CODE               BINARY_INTEGER          IN/OUT
       REASON_PHRASE          VARCHAR2(256)          IN/OUT
       HTTP_VERSION           VARCHAR2(64)          IN/OUT
       PRIVATE_HNDL           BINARY_INTEGER          IN/OUT
    NAME                    VARCHAR2          IN
    VALUE                    VARCHAR2          OUT
    N                    BINARY_INTEGER          IN     DEFAULT
    FUNCTION GET_HEADER_COUNT RETURNS BINARY_INTEGER
    Argument Name               Type               In/Out Default?
    R                    RECORD               IN/OUT
       STATUS_CODE               BINARY_INTEGER          IN/OUT
       REASON_PHRASE          VARCHAR2(256)          IN/OUT
       HTTP_VERSION           VARCHAR2(64)          IN/OUT
       PRIVATE_HNDL           BINARY_INTEGER          IN/OUT
    PROCEDURE GET_PERSISTENT_CONNS
    Argument Name               Type               In/Out Default?
    CONNECTIONS               TABLE OF RECORD      IN/OUT
    FUNCTION GET_PERSISTENT_CONN_COUNT RETURNS BINARY_INTEGER
    PROCEDURE GET_PERSISTENT_CONN_SUPPORT
    Argument Name               Type               In/Out Default?
    ENABLE                BOOLEAN           OUT
    MAX_CONNS               BINARY_INTEGER          OUT
    PROCEDURE GET_PROXY
    Argument Name               Type               In/Out Default?
    PROXY                    VARCHAR2          OUT
    NO_PROXY_DOMAINS          VARCHAR2          OUT
    FUNCTION GET_RESPONSE RETURNS RECORD
    Argument Name               Type               In/Out Default?
       STATUS_CODE               BINARY_INTEGER          OUT
       REASON_PHRASE          VARCHAR2(256)          OUT
       HTTP_VERSION           VARCHAR2(64)          OUT
       PRIVATE_HNDL           BINARY_INTEGER          OUT
    R                    RECORD               IN/OUT
       URL                    VARCHAR2(32767)      IN/OUT
       METHOD               VARCHAR2(64)          IN/OUT
       HTTP_VERSION           VARCHAR2(64)          IN/OUT
       PRIVATE_HNDL           BINARY_INTEGER          IN/OUT
    RETURN_INFO_RESPONSE          BOOLEAN           IN     DEFAULT
    PROCEDURE GET_RESPONSE_ERROR_CHECK
    Argument Name               Type               In/Out Default?
    ENABLE                BOOLEAN           OUT
    PROCEDURE GET_TRANSFER_TIMEOUT
    Argument Name               Type               In/Out Default?
    TIMEOUT               BINARY_INTEGER          OUT
    PROCEDURE READ_LINE
    Argument Name               Type               In/Out Default?
    R                    RECORD               IN/OUT
       STATUS_CODE               BINARY_INTEGER          IN/OUT
       REASON_PHRASE          VARCHAR2(256)          IN/OUT
       HTTP_VERSION           VARCHAR2(64)          IN/OUT
       PRIVATE_HNDL           BINARY_INTEGER          IN/OUT
    DATA                    VARCHAR2          OUT
    REMOVE_CRLF               BOOLEAN           IN     DEFAULT
    PROCEDURE READ_RAW
    Argument Name               Type               In/Out Default?
    R                    RECORD               IN/OUT
       STATUS_CODE               BINARY_INTEGER          IN/OUT
       REASON_PHRASE          VARCHAR2(256)          IN/OUT
       HTTP_VERSION           VARCHAR2(64)          IN/OUT
       PRIVATE_HNDL           BINARY_INTEGER          IN/OUT
    DATA                    RAW               OUT
    LEN                    BINARY_INTEGER          IN     DEFAULT
    PROCEDURE READ_TEXT
    Argument Name               Type               In/Out Default?
    R                    RECORD               IN/OUT
       STATUS_CODE               BINARY_INTEGER          IN/OUT
       REASON_PHRASE          VARCHAR2(256)          IN/OUT
       HTTP_VERSION           VARCHAR2(64)          IN/OUT
       PRIVATE_HNDL           BINARY_INTEGER          IN/OUT
    DATA                    VARCHAR2          OUT
    LEN                    BINARY_INTEGER          IN     DEFAULT
    FUNCTION REQUEST RETURNS VARCHAR2
    Argument Name               Type               In/Out Default?
    URL                    VARCHAR2          IN
    PROXY                    VARCHAR2          IN     DEFAULT
    WALLET_PATH               VARCHAR2          IN     DEFAULT
    WALLET_PASSWORD          VARCHAR2          IN     DEFAULT
    FUNCTION REQUEST_PIECES RETURNS TABLE OF VARCHAR2(2000)
    Argument Name               Type               In/Out Default?
    URL                    VARCHAR2          IN
    MAX_PIECES               BINARY_INTEGER          IN     DEFAULT
    PROXY                    VARCHAR2          IN     DEFAULT
    WALLET_PATH               VARCHAR2          IN     DEFAULT
    WALLET_PASSWORD          VARCHAR2          IN     DEFAULT
    PROCEDURE SET_AUTHENTICATION
    Argument Name               Type               In/Out Default?
    R                    RECORD               IN/OUT
       URL                    VARCHAR2(32767)      IN/OUT
       METHOD               VARCHAR2(64)          IN/OUT
       HTTP_VERSION           VARCHAR2(64)          IN/OUT
       PRIVATE_HNDL           BINARY_INTEGER          IN/OUT
    USERNAME               VARCHAR2          IN
    PASSWORD               VARCHAR2          IN     DEFAULT
    SCHEME                VARCHAR2          IN     DEFAULT
    FOR_PROXY               BOOLEAN           IN     DEFAULT
    PROCEDURE SET_BODY_CHARSET
    Argument Name               Type               In/Out Default?
    CHARSET               VARCHAR2          IN     DEFAULT
    PROCEDURE SET_BODY_CHARSET
    Argument Name               Type               In/Out Default?
    R                    RECORD               IN/OUT
       URL                    VARCHAR2(32767)      IN/OUT
       METHOD               VARCHAR2(64)          IN/OUT
       HTTP_VERSION           VARCHAR2(64)          IN/OUT
       PRIVATE_HNDL           BINARY_INTEGER          IN/OUT
    CHARSET               VARCHAR2          IN     DEFAULT
    PROCEDURE SET_BODY_CHARSET
    Argument Name               Type               In/Out Default?
    R                    RECORD               IN/OUT
       STATUS_CODE               BINARY_INTEGER          IN/OUT
       REASON_PHRASE          VARCHAR2(256)          IN/OUT
       HTTP_VERSION           VARCHAR2(64)          IN/OUT
       PRIVATE_HNDL           BINARY_INTEGER          IN/OUT
    CHARSET               VARCHAR2          IN     DEFAULT
    PROCEDURE SET_COOKIE_SUPPORT
    Argument Name               Type               In/Out Default?
    ENABLE                BOOLEAN           IN
    MAX_COOKIES               BINARY_INTEGER          IN     DEFAULT
    MAX_COOKIES_PER_SITE          BINARY_INTEGER          IN     DEFAULT
    PROCEDURE SET_COOKIE_SUPPORT
    Argument Name               Type               In/Out Default?
    R                    RECORD               IN/OUT
       URL                    VARCHAR2(32767)      IN/OUT
       METHOD               VARCHAR2(64)          IN/OUT
       HTTP_VERSION           VARCHAR2(64)          IN/OUT
       PRIVATE_HNDL           BINARY_INTEGER          IN/OUT
    ENABLE                BOOLEAN           IN     DEFAULT
    PROCEDURE SET_DETAILED_EXCP_SUPPORT
    Argument Name               Type               In/Out Default?
    ENABLE                BOOLEAN           IN     DEFAULT
    PROCEDURE SET_FOLLOW_REDIRECT
    Argument Name               Type               In/Out Default?
    MAX_REDIRECTS               BINARY_INTEGER          IN     DEFAULT
    PROCEDURE SET_FOLLOW_REDIRECT
    Argument Name               Type               In/Out Default?
    R                    RECORD               IN/OUT
       URL                    VARCHAR2(32767)      IN/OUT
       METHOD               VARCHAR2(64)          IN/OUT
       HTTP_VERSION           VARCHAR2(64)          IN/OUT
       PRIVATE_HNDL           BINARY_INTEGER          IN/OUT
    MAX_REDIRECTS               BINARY_INTEGER          IN     DEFAULT
    PROCEDURE SET_HEADER
    Argument Name               Type               In/Out Default?
    R                    RECORD               IN/OUT
       URL                    VARCHAR2(32767)      IN/OUT
       METHOD               VARCHAR2(64)          IN/OUT
       HTTP_VERSION           VARCHAR2(64)          IN/OUT
       PRIVATE_HNDL           BINARY_INTEGER          IN/OUT
    NAME                    VARCHAR2          IN
    VALUE                    VARCHAR2          IN     DEFAULT
    PROCEDURE SET_PERSISTENT_CONN_SUPPORT
    Argument Name               Type               In/Out Default?
    ENABLE                BOOLEAN           IN
    MAX_CONNS               BINARY_INTEGER          IN     DEFAULT
    PROCEDURE SET_PERSISTENT_CONN_SUPPORT
    Argument Name               Type               In/Out Default?
    R                    RECORD               IN/OUT
       URL                    VARCHAR2(32767)      IN/OUT
       METHOD               VARCHAR2(64)          IN/OUT
       HTTP_VERSION           VARCHAR2(64)          IN/OUT
       PRIVATE_HNDL           BINARY_INTEGER          IN/OUT
    ENABLE                BOOLEAN           IN     DEFAULT
    PROCEDURE SET_PROXY
    Argument Name               Type               In/Out Default?
    PROXY                    VARCHAR2          IN
    NO_PROXY_DOMAINS          VARCHAR2          IN     DEFAULT
    PROCEDURE SET_RESPONSE_ERROR_CHECK
    Argument Name               Type               In/Out Default?
    ENABLE                BOOLEAN           IN     DEFAULT
    PROCEDURE SET_TRANSFER_TIMEOUT
    Argument Name               Type               In/Out Default?
    TIMEOUT               BINARY_INTEGER          IN     DEFAULT
    PROCEDURE SET_TRANSFER_TIMEOUT
    Argument Name               Type               In/Out Default?
    R                    RECORD               IN/OUT
       URL                    VARCHAR2(32767)      IN/OUT
       METHOD               VARCHAR2(64)          IN/OUT
       HTTP_VERSION           VARCHAR2(64)          IN/OUT
       PRIVATE_HNDL           BINARY_INTEGER          IN/OUT
    TIMEOUT               BINARY_INTEGER          IN     DEFAULT
    PROCEDURE SET_WALLET
    Argument Name               Type               In/Out Default?
    PATH                    VARCHAR2          IN
    PASSWORD               VARCHAR2          IN     DEFAULT
    PROCEDURE WRITE_LINE
    Argument Name               Type               In/Out Default?
    R                    RECORD               IN/OUT
       URL                    VARCHAR2(32767)      IN/OUT
       METHOD               VARCHAR2(64)          IN/OUT
       HTTP_VERSION           VARCHAR2(64)          IN/OUT
       PRIVATE_HNDL           BINARY_INTEGER          IN/OUT
    DATA                    VARCHAR2          IN
    PROCEDURE WRITE_RAW
    Argument Name               Type               In/Out Default?
    R                    RECORD               IN/OUT
       URL                    VARCHAR2(32767)      IN/OUT
       METHOD               VARCHAR2(64)          IN/OUT
       HTTP_VERSION           VARCHAR2(64)          IN/OUT
       PRIVATE_HNDL           BINARY_INTEGER          IN/OUT
    DATA                    RAW               IN
    PROCEDURE WRITE_TEXT
    Argument Name               Type               In/Out Default?
    R                    RECORD               IN/OUT
       URL                    VARCHAR2(32767)      IN/OUT
       METHOD               VARCHAR2(64)          IN/OUT
       HTTP_VERSION           VARCHAR2(64)          IN/OUT
       PRIVATE_HNDL           BINARY_INTEGER          IN/OUT
    DATA                    VARCHAR2          IN

  • How to connect Mysql to J2EE server exactly?

    Hi,there
    I would like thank you for offering me your precious opinion in advance.
    I got a problem with installing Mysql database into J2EE server. All I have done is:
    1.Install Mysql and put the Mysql driver,mm.mysql-2.0.4-bin.jar into the directory of J2EE which is j2ee1.3.1/lib.
    2. Set the environment variable for invoking the Mysql driver like
    this,CLASSPATH=.;%JAVA_HOME%\lib\mysql-connector-java-2.0.14-bin;%
    J2EE_HOME%\lib\mysql-connector-java-2.0.14-bin;%JAVA_HOME%\bin;
    3.Modify the content of Server.xml file located in J2EE directory like this:
    <DefaultContext>
    <Resource name="jdbc/mysql" auth="Container"
    type="javax.sql.DataSource" />
    <ResourceParams name="jdbc/mysql">
    <parameter>
    <name>driverClassName</name>
    <value>org.gjt.mm.mysql.Driver</value>
    </parameter>
    <parameter>
    <name>drivername</name>
    <value>jdbc:mysql:localhost:3306:mobiledb</value>
    </parameter>
    </ResourceParams>
    </DefaultContext>
    So far,I have no success in connect Mysql to J2EE server. What am I doing wrong?
    Thank you for your kind help.

    hi, sameer
    Thank you for reply. Could you tell me exactly the documents that you see? Do you mean "J2EE tutorial documents"?
    Thanks for advice.
    Revon

  • How to connect Apple TV to multiple devices

    I have a Pioneer HDTV connected to a Sony VAIO computer through HDMI which in turn is connected to a Sony 5.1 digital receiver through a TOSLINK cable. I have recently bought Apple TV and now need to connect it so that the TV, computer and receiver all all to each other. The problem I have is that the TV has only HDMI out and the receiver has only one digital optical out. What is the best way to connect the Apple TV to these devices?

    Your Tv is unlikely to have HDMI out.
    It may have HDMI in, question is how many inputs.
    The only official way to connect AppleTV 2 to your TV is via HDMI.
    You can send optical audio to the Sony reciever simultaneously.
    AC

  • How to connect mysql database to labview and plot the graph

    Hi all,
     I am doing my final year project about labview. I need to connect my mysql workbench database to labview and plotting two sinwave in same graph. I can already connected my labview to mysql and showing the data in labview table.But I need to plot the two sinwave in on graph according to table data. Eg: table data&colon;      timestamp   wind speed  wind direction
                                                      ​                                                  ​                                                  ​                                            2004-01-01         0.5                 56
                                                      ​                                                  ​                                                  ​                                            2004-01-01         0.6                 60
      The attachemtn vi is about inserting file and plot the graph. And now I  want plotting the sinwave using table data and the  wind speed Y-axis,wind direction Y-axis in both side of my graph and the X-axis is showing the whole day timing like 00:00:00-24:00:00.  Can anybody combine these 2 vi to polting the graph according table data not according to file data.Thanks
    Attachments:
    Mysql.vi ‏11 KB
    Insert File.vi ‏25 KB
    Wind Project.vi ‏24 KB

    Please don't start a new thread. Stick to the original.
    http://forums.ni.com/t5/LabVIEW/How-to-plot-wavefo​rm-or-graph-using-table-database-which/td-p/294036​...

  • How to connect mysql to openoffice

    hello there,
    i have openoffice 2 and the myodbc java driver installed, but i cannot seem to connect the two together.
    i dont even know where on my system the odbc driver got installed.
    anyone know of a link to a how-to to get me started here?
    thanks

    You asked the question in February, maybe solved, but for other users with similar issue this what I did.
    I was searching for MySQL, ODBC with OpenOffice, and find a helpful page in Arch Wiki.
    http://wiki.archlinux.org/index.php/Odbc

  • How to connect i phone5 with other device

    My phone cant connect with sony smartwatch 2

    The Sony SmartWatch is designed for Android devices only.
    Works as an NFC watch with all smartphones using Android 4.0 (Ice Cream Sandwich) and later
    http://www.sonymobile.com/global-en/products/accessories/smartwatch-2-sw2/specif ications/

  • How to connect MySQL in JSP?

    I applied a JSP web hosting, but cannot connect the MySQL server.
    Error message is:
    java.sql.SQLException: Server configuration denies access to data source
    My code is correct, because I have used the similar code to connect some other MySQL server.
    Can anyone help?

    you may also want to check the username, password and database you are connection to

  • How to connect Mysql??

    import java.sql.*;
    public class Personal {
    public static void main(String[] args) {
    String name;
    String address;
    String cellphone;
    int age;
    Connection con=null;
    Statement sql;
    ResultSet rs;
    try {
    Class.forName("com.mysql.jdbc.Driver");     
    catch(ClassNotFoundException ee)
    {System.out.println("class not found")}
    try{
    con=DriverManager.getConnection("jdbc:mysql://localhost/samp_db","weidl","*******");
    sql=con.createStatement();
    rs=sql.executeQuery("Select * from personal");
    while(rs.next()) {
         name=rs.getString("Name");
    address=rs.getString("Address");
    cellphone=rs.getString("Cellphone");
    age=rs.getInt("Age");
    System.out.println("Name="+name);
    System.out.println("Address="+address);
    System.out.println("Cellphone="+cellphone);
    System.out.println("Age="+age);
    catch(SQLException eee) {System.out.println("error");}
    finally {
    if(con !=null) {
    try {
    con.close();
    catch(Exception e){
    e.getStackTrace();
    /* I hava add the MySQL Connector/J to the classpath ,and it does'nt work!
    when i compile it ,it can pass through.But if i java it ,it says:"class not found"
    I'm despairing!

    there is nothing wrong with your pc ;o)
    try using the 'proper' driver in the same jar file, and using the port number in the DB URL (3306 is default):
    class.forName("org.gjt.mm.mysql.Driver");
    con=DriverManager.getConnection("jdbc:mysql://localhost:3306/samp_db","weidl","*******");Also, have u added the ConnectorJ JAR file to the classpath, or the zip it comes in? You need to unpack the zip and take out the JAR, and use that. Plus, it is a lot smaller...

  • How to connect to iCloud in same device using another id

    I used an apple Id in my I pod touch ,now I need to connect to iCloud using another id but that old id only remains and I cannot change it. Help me

    Settings>iCloud, scroll to bottom of screen and delete the account.  Then enter ID of the other account.

  • How to connected mysql database to iphone app?

    I make application which must use mysql database because my application is related to other desktop application

    If the app uses the same db as on the user's computer, you should look into using iCloud to share and sync the data. Visit the iOS Dev Center for details.

Maybe you are looking for

  • New Ipod Nano Wrong adres

    Hello. I'm a boy from the Netherland and I've a problem I did request a new Ipod from APPLE Ipod NANO 1 Gen. I received a box and something to send it with UPS. Then i have a problem. THe name of the adres is an ANOTHER person and not my Adres. What

  • Very Urgent!!! About jre process

    Hi, I have an Oracle 8i Production Database running on Linux RedHat and suddenly I noticed through 'top' in command linux in the server that there are 2 processes consuming 99% of my CPU. Their names are 'jre' and they were started in August 10. So,

  • I need to merge to clouds. A work cloud and a personal cloud togther.

    I have two clouds. One i set up for work and one my original cloud when I got first Iphone. How do I merge them both?

  • Ical events got pushed back by one day throughout the entire calendar

    Well, first of all, I can't find the iCal.plist file in my preferences folder. Either way, I don't think that will solve my problem: the dates and days on my ical are correct, but the events and to-dos are all moved back by one day. It's as if the la

  • IS Auto application

    Hi, Can anyone tell me the automotive companies who are using IS auto solution? Thanks and regards, Sunil srinivasan