Jump to content


java to SQL

  • Please log in to reply
1 reply to this topic

#1 deathadder


    Advanced Member

  • Members
  • PipPipPip
  • 87 posts

Posted 23 June 2013 - 12:57 PM

Hi, i need to connect my java application to my SQL server, i have the code but i have the problem of i don't know what to change localhost to, as i normally use localhost on my website, i don't know what i should change it to.


help would be much appreciated.

#2 Muddy_Funster


    Advanced Member

  • Members
  • PipPipPip
  • 3,163 posts

Posted 17 July 2013 - 01:28 PM

more information on your setup is required to answer this question.

A simple password hash :

function makePass($word=''){
  $dbSalt = '$2a$07$'.substr(hash('whirlpool',$word),0,22);
  $dbPass = crypt($word, $dbSalt);
 return substr($dbPass,12);


0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users