Thread: Would mySQL be appropriate for...

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1
    spurious conceit MK27's Avatar
    Join Date
    Jul 2008
    Location
    segmentation fault
    Posts
    8,300

    Question Would mySQL be appropriate for...

    Here a question I presume someone can easily answer and save me some tedious scanning of text:

    I have never used mySQL before, but I am going to (more or less) have to soon because I'm learning "ruby on rails". Anyway, the little project I'm doing to learn ruby syntax and usage is not a web app, but it could use a db to store data between invocations*. In the past, with perl, I've used BerkeleyDB and more recently "Storable" for this. I've also used them to do cgi web stuff and they work fine for that, which is part of the reason I've never bothered with mySQL.

    Anyway, since I will have to be learning mySQL anyway, I was wondering if it could be applied this way -- eg, *not in a web context*, but just to create database files that could be used by an executable. From the looks of their site, I am guessing no, so either I have to turn this into a web app (possible) or else find an equivalent to BDB or Store for ruby. Which might be even better if I could then use that while learning rails instead. Or else just use a text file, but since I should really focus on "normative practices" that seems silly.

    *nicer and easier than parsing a text file in and out

    [later] looks like SQlite is more the thing for this...
    Last edited by MK27; 05-17-2009 at 12:14 PM.
    C programming resources:
    GNU C Function and Macro Index -- glibc reference manual
    The C Book -- nice online learner guide
    Current ISO draft standard
    CCAN -- new CPAN like open source library repository
    3 (different) GNU debugger tutorials: #1 -- #2 -- #3
    cpwiki -- our wiki on sourceforge

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Change detection in MySQL.
    By amitbora27 in forum A Brief History of Cprogramming.com
    Replies: 2
    Last Post: 05-13-2009, 10:34 AM
  2. MySQL libraries
    By csonx_p in forum C++ Programming
    Replies: 6
    Last Post: 10-02-2008, 02:23 AM
  3. About C++ and MySQL or oether free database
    By xxxrugby in forum C++ Programming
    Replies: 18
    Last Post: 12-30-2005, 06:28 AM
  4. Get data from mysql and use in a system.
    By smaakage in forum Tech Board
    Replies: 3
    Last Post: 10-04-2005, 12:03 PM
  5. Get data from mysql and use in a system.
    By smaakage in forum C++ Programming
    Replies: 5
    Last Post: 10-02-2005, 01:25 PM