mysql - Java iReport JDBC connection error -


i trying create ireport using netbeans ireport plugins.

when try test connection, gives error message as,

sql problems: access denied user ''@'localhost' database 'st2_payroll/username:root/password:null' jdbc:mysql://localhost:3306/st2_payroll/username:root/password:null

im using xampp phpmyadmin data base.

the jdbc driver mysql (com.mysql.jdbc.driver)

database url jdbc:mysql://localhost:3306/st2_payroll/username:root/password:null

as far remember, when create db connection using ireport, after having selected driver, must enter jdbc url without username , password.

i.e. jdbc:mysql://localhost/database_instance_name

username , password should added in following text box

ff


Comments

Popular posts from this blog

javascript - AngularJS custom datepicker directive -

javascript - jQuery date picker - Disable dates after the selection from the first date picker -