Ruby Mysql Connection -


I have a problem connecting with Ruby and MyScall and my local MACCIL server on my Mac.

  requires 'rubygems' to 'mysql' ... db = Mysql.new ("localhost", "root", "", "") ...  

I will get this error when I run the command line from this script:

  gener.rb: 37: 'start' in: wrong of arguments Number (0 to 4) (ArgumentError) from Gener.rb: 37: 'new' to generate.rb: 37  

I do not know why I am getting this error. Any ideas?

How about

  db = Mysql.connect ("localhost 


Comments