Running a js file with node
<p>Currently, you just log on to the ssh with putty.</p>

<p>We're trying to run a js file which then basically creates an empty log file, currently we're just getting this error:</p>

<blockquote>
  <p>port : '1157', ^^^^ SyntaxError: Unexpected identifier at exports.runInThisContext (vm.js:73:16) at Module._compile (module.js:443:25) at Object.Module._extensions..js (module.js:478:10) at Module.load (module.js:355:32) at Function.Module._load (module.js:310:12) at Function.Module.runMain (module.js:501:10) at startup (node.js:129:16) at node.js:814:3</p>
</blockquote>

<p>Here's the code we think is the problem:</p>

<pre><code>var mysqlInfo; 
mysqlInfo = { 
           host : https//www.random.com, port : '2332',      
           user : 'test@localhost', password : '32323232', 
           database : 'test_installation', 
           charset : 'utf8_general_ci' 
           };
</code></pre>

<p>we're not sure how to format it</p>

<p>Another problem is we get multiple connecting issues, but I think this is the main problem.</p>

<p><em>details edited out for security, but same format as our actual file</em></p>