I installed a wamp server on my pc and initially, it runs.(localHost&phpmyAdmin)
but when I installed mysql for my java subject, I can't access the php database anymore.

error message looks like this:
MySQL said: Documentation
#1045 - Access denied for user 'root'@'localhost' (using password: NO)

I am thinking that I should disable the password but I don't know how.
Please help me:))

If you installed MySQL, then you should have been prompted to insert a password. If it comes with WAMP, try using id = admin password = password or just id = admin, password = "BLANK".

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.