why do i get this error?

A MySQL connection string normally looks like:

Server=myServerAddress;Database=myDataBase;Uid=myUsername;Pwd=myPassword;

But if it isn't allowing access then the password maybe incorrect. If the database or user didn't exist I think the message would be different.

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.