doubts

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • abbas reji

    #1

    doubts

    --0-599929911-1059996886=:435 8
    Content-Type: text/plain; charset=iso-8859-1
    Content-Transfer-Encoding: 8bit
    Content-Id:
    Content-Disposition: inline




    _______________ _______________ _______________ _______________ ____________
    Want to chat instantly with your online friends? Get the FREE Yahoo!
    Messenger http://uk.messenger.yahoo.com/
    --0-599929911-1059996886=:435 8
    Content-Type: text/plain; name="doubts.tx t"
    Content-Description: doubts.txt
    Content-Disposition: inline; filename="doubt s.txt"



    Sir,

    My name is Reji.Iam studying for a master degree in computer applications.Ia m new to mySQL.I don't know how to connect java with mySQL.Iam using home pc.Following are the tools that iam using.

    operating system :windowsXP

    java :jdk1.3 on D:\jdk1.3

    mySQL :ver 12.21 server version 4.0.14-nt for win95/98 (i32) on c:\mysql

    SSl :not in use

    connection :local host via TCP/IP

    tcp port :3306

    MySQL control center :mysqlcc-0.9.2-win32 on F:\mysqlcc

    connector/j :mysql-connector-java-3.0.8-stable on d:\jdk1.3\bin

    (copied both com and org in another folder(comorg) and put

    it in the bin folder of jdk



    I have the following problems:

    (1) I can't make a connection to mySQl through java.When I tried to run it,an error

    is displayed as follows:

    ClassNotFoundEx ception:com.mys ql.jdbc.Driver
    SQLException : No suitable driver

    (2) I can't change the user ODBC@localhost. When I tried it using the grant option,
    (GRANT ALL PRIVILEGES ON MYDATABASE.* TO REJI@'%' IDENTIFIED BY '' WITH GRANT OPTION;), an error is displayed as follows:

    ERROR 1044:Access denied for user:'@localhos t' to database 'hhtransport'


    When i tried it with the console manager(control center),the message displayed is 'user created sucessfully'.Bu t when I use mysql the same error(1044) occurs.Please give me a solution to these problems.


    Thanks

    REJI.M.S
    MUDUVILAKOM
    THOTTAVARAM
    ATTINGAL(PO)
    TRIVANDRUM
    KERALA
    INDIA
    PIN695101
    EMAIL:abba_117a @yahoo.com


















    --0-599929911-1059996886=:435 8
    Content-Type: text/plain; charset=us-ascii

    --
    MySQL General Mailing List
    For list archives: http://lists.mysql.com/mysql
    To unsubscribe: http://lists.mysql.com/mysql?unsub=m...ie.nctu.edu.tw
    --0-599929911-1059996886=:435 8--
Working...