Unable to connect to MySQL using java

2002-10-20 Thread Muhammad Farhan
HI,
I am trying to connect to MySQL using java. I have placed mm.mysql drivers 
in "jakarta-tomcat/lib" folder. but whenever i try to connect to mysql, i 
receive this error:

Cannot connect to MySQL server on . Is there a MySQL server running on the 
machine/port you are trying to connect to? 
(java.security.AccessControlException)


please note that i can connect to mysql using telnet and php script.

Please help me to overcome this error.

Farhan


-
Before posting, please check:
  http://www.mysql.com/manual.php   (the manual)
  http://lists.mysql.com/   (the list archive)

To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php



encrypted fields

2001-01-21 Thread Muhammad Farhan Ghazi

How one can make a field encrypted in a table, so that it cannot even be 
seen using the select statement? I have a field in which I'm storing 
passwords and I don't want it to be visible.

Ghazi, Muhammad Farhan

_
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.


-
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/   (the list archive)

To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php




Foreign Key

2001-01-20 Thread Muhammad Farhan Ghazi

How one can implement foreign key in MySQL? I've looked at the doc but 
didn't get the method.

Please comment,

Ghazi, Muhammad Farhan

_
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.


-
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/   (the list archive)

To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php




datetime field

2001-01-20 Thread Muhammad Farhan Ghazi

How much space is taken by the datetime field?

Is there any way that we can only store date or time in it?

How we can seperate date and time from this field?
_
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.


-
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/   (the list archive)

To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php




datetime field

2001-01-20 Thread Muhammad Farhan Ghazi

How much space is taken by the datetime field?

Is there any way that we can only store date or time in it?

How we can seperate date and time from this field?


Regaards,

Ghazi, Muhammad Farhan

_
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.


-
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/   (the list archive)

To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php