This electronic transmission is confidential and intended solely for the
addressee(s.) If you are not an intended addressee, you must not disclose, copy,
distribute or take any action in reliance upon this transmission. If you have
received this transmission in error, please notify Progressive Recruitment
Limited.
Now I'm studying Mysql syntax, but seems don't use on ruby mysql?
Did you google for "ruby mysql"? What did you find?
Did you try "gem install mysql"? If so, did it install succesfully? If
not, show the error.
If it installed OK, did you try writing some code to use it? If it
didn't work, what error message or problem did you see?
Note the mysql gem is a "low level" API: a thin wrapper around the C
mysql API. If you use it, your code will be tied to mysql only.
There are several higher-level APIs - e.g. ActiveRecord, Sequel,
DataMapper - which both decouple you from the underlying database, and
give higher-level abstractions to make your code shorter and simpler. If
you use one of these, you'll need to install it in addition to the mysql
gem.
From what you write it is not entirely clear whether you need an RDBMs
like MySQL at all. What data do you have and what do you want to do
with it after you have stored it? Or put differently: why do you want
to store it?
Cheers
robert
···
On Wed, Sep 28, 2011 at 8:43 AM, CC Chen <dickyhide@gmail.com> wrote:
I don't have the database created experience.
I write several ruby script and run them separate for difference data
type.
But now I should create a database to store them.
How do I store each result data into same database?
Now I'm studying Mysql syntax, but seems don't use on ruby mysql?