B
bb
Excuse me if I'm in the wrong users group for this question, but this
forum is the best around so I'm giving it a shot. I have a connection
statement to make a connection with a MySQL 3.1 database via JDBC that
follows:
con =
DriverManager.getConnection("jdbc:mysql://localhost/billblac_?user=billblac_bill&password=wgb");
The database name is billblac_ .
There is an existing connection named billblac_bill, host = localhost,
port = 3306, username = root, password = wgb1454. This connection
connects to the database correctly.
The error message I get when I try to connect via Java and the above
statement is:
java.sql.SQLException: Invalid authorization specification: Access
denied for user 'billblac_bill'@'localhost' <using password: YES>
I know there is a discrepancy between the Java connection string
statement and the existing connection named billblac_bill, but I can't
seem to get the exact settings correct.
Any help would be GREATLY appreciated!
forum is the best around so I'm giving it a shot. I have a connection
statement to make a connection with a MySQL 3.1 database via JDBC that
follows:
con =
DriverManager.getConnection("jdbc:mysql://localhost/billblac_?user=billblac_bill&password=wgb");
The database name is billblac_ .
There is an existing connection named billblac_bill, host = localhost,
port = 3306, username = root, password = wgb1454. This connection
connects to the database correctly.
The error message I get when I try to connect via Java and the above
statement is:
java.sql.SQLException: Invalid authorization specification: Access
denied for user 'billblac_bill'@'localhost' <using password: YES>
I know there is a discrepancy between the Java connection string
statement and the existing connection named billblac_bill, but I can't
seem to get the exact settings correct.
Any help would be GREATLY appreciated!