0

hi all

I am trying to make a server and client side instant messenger in java.

Now I was thinking is there a way to make a database in the server where I would keep thier usernames and passwords. Then I would have a button in the client side where users can register?

if yes, is it with mysql and is there any tutorials?

thanx

2
Contributors
3
Replies
4
Views
11 Years
Discussion Span
Last Post by leelee
0

thnx but how would i connect it to java and also how would I implement it in the server?

0

you need to either set up an sql server on your own server(s), or purchase hosting that allows access to their sql servers. Read around some mysql tutorials to show you how to get the mysql database up and running with a schema that you're happy with. There's probably little point in trying to use Java to interact with mysql unless you know what's going on in there.

Once you're happy with all that, download and have a play with JDBC
http://dev.mysql.com/downloads/connector/j/3.0.html

There's a good sun tutorial here:
http://java.sun.com/docs/books/tutorial/jdbc/basics/gettingstarted.html

and a simple search shows more here:
http://www.google.com/search?hl=en&q=mysql+jdbc+tutorials&meta=

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.