This topic contains a solution. Click here to go to the answer

Author Question: To connect to a local MySQL database named test, use ________. (Read 395 times)

Redwolflake15

  • Hero Member
  • *****
  • Posts: 569

Question 1

A database URL for a MySQL database named test on host panda.armstrong.edu is ________.
◦ jdbc:mysql:/panda.armstrong.edu/test
◦ jdbc:mysql://panda.armstrong.edu/test
◦ jdbc.mysql.//panda.armstrong.edu/test
◦ jdbc.mysql://panda.armstrong.edu/test

Question 2

To connect to a local MySQL database named test, use ________.
◦ Connection connection = DriverManager.connect("jdbc:mysql://localhost/test");
◦ Connection connection = DriverManager.getConnection("jdbc:mysql://localhost/test");
◦ Connection connection = DriverManager.getConnection(jdbc:mysql://localhost/test);
◦ Connection connection = DriverManager.getConnection("mysql:jdbc://localhost/test");


Related Topics

Need homework help now?

Ask unlimited questions for free

Ask a Question
Marked as best answer by Redwolflake15 on May 6, 2020

kaylee05

  • Sr. Member
  • ****
  • Posts: 318
Lorsum iprem. Lorsus sur ipci. Lorsem sur iprem. Lorsum sur ipdi, lorsem sur ipci. Lorsum sur iprium, valum sur ipci et, vala sur ipci. Lorsem sur ipci, lorsa sur iprem. Valus sur ipdi. Lorsus sur iprium nunc, valem sur iprium. Valem sur ipdi. Lorsa sur iprium. Lorsum sur iprium. Valem sur ipdi. Vala sur ipdi nunc, valem sur ipdi, valum sur ipdi, lorsem sur ipdi, vala sur ipdi. Valem sur iprem nunc, lorsa sur iprium. Valum sur ipdi et, lorsus sur ipci. Valem sur iprem. Valem sur ipci. Lorsa sur iprium. Lorsem sur ipci, valus sur iprem. Lorsem sur iprem nunc, valus sur iprium.
Answer Preview
Only 29% of students answer this correctly




Redwolflake15

  • Member
  • Posts: 569
Reply 2 on: May 6, 2020
:D TYSM


cpetit11

  • Member
  • Posts: 321
Reply 3 on: Yesterday
Great answer, keep it coming :)

 

Did you know?

The Babylonians wrote numbers in a system that used 60 as the base value rather than the number 10. They did not have a symbol for "zero."

Did you know?

Chronic necrotizing aspergillosis has a slowly progressive process that, unlike invasive aspergillosis, does not spread to other organ systems or the blood vessels. It most often affects middle-aged and elderly individuals, spreading to surrounding tissue in the lungs. The disease often does not respond to conventionally successful treatments, and requires individualized therapies in order to keep it from becoming life-threatening.

Did you know?

Since 1988, the CDC has reported a 99% reduction in bacterial meningitis caused by Haemophilus influenzae, due to the introduction of the vaccine against it.

Did you know?

Children with strabismus (crossed eyes) can be treated. They are not able to outgrow this condition on their own, but with help, it can be more easily corrected at a younger age. It is important for infants to have eye examinations as early as possible in their development and then another at age 2 years.

Did you know?

Drug abusers experience the following scenario: The pleasure given by their drug (or drugs) of choice is so strong that it is difficult to eradicate even after years of staying away from the substances involved. Certain triggers may cause a drug abuser to relapse. Research shows that long-term drug abuse results in significant changes in brain function that persist long after an individual stops using drugs. It is most important to realize that the same is true of not just illegal substances but alcohol and tobacco as well.

For a complete list of videos, visit our video library