Ruby database

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?

Thanks,
CC

···

--
Posted via http://www.ruby-forum.com/.

Can someone help me by taking me off this list please?

Thanks a lot

Jeanne Londiche

···

-------------------------------------------------------------

-----Original Message-----
From: CC Chen [mailto:dickyhide@gmail.com]
Sent: 28 September 2011 08:43
To: ruby-talk ML
Subject: ruby database

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?

Thanks,
CC

--
Posted via http://www.ruby-forum.com/.

Search for CVs on-line or sign-up for jobs by email at:
www.progressiverecruitment.com

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.

You can find our privacy statement at
http://www.progressiverecruitment.com/en/page/privacy_policy If you do not want
to receive electronic mail from us about our services, or would like to confirm
or qualify how we hold your personal data, please send a request via email to
data-audit@progressiverecruitment.com
http://www.progressiverecruitment.com/en/page/registration_details

CC Chen wrote in post #1024021:

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.

Regards,

Brian.

···

--
Posted via http://www.ruby-forum.com/\.

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?

--
remember.guy do |as, often| as.you_can - without end
http://blog.rubybestpractices.com/