标签: java mysql phpmyadmin mamp
I am trying to store user details into database for my project and even I tried all the solutions provided on the forums, but nothing worked and i am using phpmyadmin and mysqlserver , pls anyone help me to overcome the problem
答案 0 :(得分:0)
您必须指定为mysql设置的密码。 您的连接网址应如下所示。
Connection con=DriverManager.getConnection("jdbc:mysql://localhost:3306/your_Database","root","mysql_password");