SHARE
TWEET

Untitled

a guest Apr 27th, 2018 65 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. function getConnection(){
  2.  
  3.   var address = 'url.domain';
  4.   var user = 'username';
  5.   var userPwd = 'pass';
  6.   var db = 'database_name';
  7.   var spreadsheetURL = 'spreadsheetURL';
  8.  
  9.  
  10.   var dbUrl = 'jdbc:mysql://' + address + '/' + db;
  11.   var conn = Jdbc.getConnection(dbUrl, user, userPwd);
  12.   return conn;
  13. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top