facebook

mysql driver

  1. MyEclipse Archived
  2.  > 
  3. Database Tools (DB Explorer, Hibernate, etc.)
Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #284923 Reply

    amokana
    Member

    hi,

    i downloaded mysql connector/j and i tried to add a new driver in the MyEclipse Database Explorer as was showed here http://www.myeclipseide.com/documentation/quickstarts/db_overview/

    but i get this message when i try to test the driver :

    error while performing database login with the driver-mysql driver : illegal connection port value ‘3306>]’

    Note i installed mySQL on port 3306 and i use annonymous login (root without password) to connect to my databases ( in fact navicat can access to the databases with no problems)

    #284943

    Loyal Water
    Member

    Can you send me a screenshot of the values that you have entered in the Database Driver window? You can hit the Post Reply button at the bottom and upload your screenshot.

    #300891

    ssomesula
    Member

    I too have the same problem when clicking on test driver in Myeclipse Database explorer.

    Displayed error :
    error while performing database login with the driver-mysql driver : illegal connection port value ‘3306>]’ when using Myeclipse Database explorer.

    I don’t know how to attach screenshot but I am typing all the properties that I used in setting up.

    Driver Template : MySQL Connector/J
    Driver name : com.mysql.jdbc.Driver
    Connection url : jdbcLmysql://<localhost>[<3306>]/sai

    Driver classname : com.mysql.jdbc.Driver

    And I added jar mysql-connector-java-5.1.8-bin.jar.

    Please let me know ASAP.

    Thanks.
    [/img]

    #300899

    ssomesula,
    The URL that you have given is wrong.
    use jdbc:mysql://localhost:3306/sai (where sai is your data base name)

    #300919

    ssomesula
    Member

    Thank you Shalini. It worked.

    #300952

    You are welcome

Viewing 6 posts - 1 through 6 (of 6 total)
Reply To: mysql driver

This topic is marked as closed to new replies, however your posting capabilities still allow you to do so.

You must be logged in to post in the forum log in