Mysql Connection with out password using corejava program

后端 未结 8 1321
你的背包
你的背包 2020-12-07 03:21

I want to connect to a MySQL database. While installing MySQL I did not give any password, so in my program I did the same but I am getting error on connection. I am using p

8条回答
  •  萌比男神i
    2020-12-07 03:58

    URL=jdbc\:mysql\://192.168.1.51:3306/easylibdb1
    USER=root
    PASSWD=
    DRIVER=com.mysql.jdbc.Driver
    

    Please set ur PASSWORD Field as blank.. Don't put quote.

提交回复
热议问题