Use the below displayed code for JDBC MYSQL connection string.
JDBC Connection:
String url=jdbc:mysql://localhost:3306/myDBname?user=username&password=password;
con.in = DriverManager.getConnection(url);
In the above mentioned code you must replace the 'username and password' with your username & password.
For e.g. user=abc_db&password=abc1234;
The word con.in in the above code refers to an 'object'.
Not at all
helpful Not much
helpful Some what
helpful Very
helpful Extremely
helpful | ||||||||
What could be better? (Optional)
X
Not related to my issue
Too complicated explanations
Too much information
Incorrect information
Unclear information
Incomplete information
Too old information
Do you have any other feedback about this faq ? 1000
|