tags:

views:

242

answers:

2

I have no database experience and want to get started with MySQL. I have often seen it paired with Php and other various languages. Which language should I use in conjunction with MySQL? I am most familiar with Java currently, but I am very willing to learn a new language that works well with MySQL.

+6  A: 

There's nothing wrong with using Java and MySQL together.

Get the MySQL JDBC driver and start coding! Here's a tutorial.

Jason Cohen
+1, having to learn a language + MySQL is not the best approach. If you know Java, stay with it.
Joachim Sauer
+6  A: 

Just about any language is fine. Chose the language independently depending on what you want to do.

If you are just building programs to learn how DBs work, please consider languages that don't need a lot of glue code. Candidates: C#, python, perl, ruby, php, Java. C++ has too much glue code needed to be a good choice to use as a DB learning language.

Sticking with Java since you already know it is a fine choice.


If you just want to get some experience with SQL in general, I would highly recommend these site tutorials:

http://sqlcourse.com/

and

http://sqlcourse2.com/

They have built in query interpreters.

Brian R. Bondy
Which languages have little glue code?
Anton
You can write a program in Python that talks to the DB in just a few lines of code for example.
Brian R. Bondy