Professional Web Applications Themes

naif question: ruby and mysql - Ruby

I have the need to get information from a MySQL database and I'd like to use Ruby. My problem is that the database is not on the same machine as the Ruby client and I am not able to install the MySQL libraries that the RAA interface seem to require. Is there a pure-Ruby socket interface to MySQL? Or is my understanding way off? Thanks, -mark....

  1. #1

    Default naif question: ruby and mysql


    I have the need to get information from a MySQL database and I'd like to
    use Ruby.

    My problem is that the database is not on the same machine as the Ruby
    client and I am not able to install the MySQL libraries that the RAA
    interface seem to require.

    Is there a pure-Ruby socket interface to MySQL?
    Or is my understanding way off?

    Thanks,

    -mark.
    Mark Guest

  2. #2

    Default Re: naif question: ruby and mysql

    On Thu, 29 Jan 2004 01:48:55 +0000, Mark Probert wrote: 

    I am wondering why you are not able to do that?
    If you are on unix, you should be able to install the mysql stuff in
    your homedir.

     

    I doubt it.

    --
    Simon Strandgaard
    Simon Guest

  3. #3

    Default Re: naif question: ruby and mysql

    In article <172.150.14>, Mark Probert
    wrote: 

    There are two MySQL libraries for Ruby:

    * mysql-ruby: a wrapper around the C libmysqlclient library.
    * ruby-mysql: a pure Ruby socket interface
    Tim Guest

Similar Threads

  1. Replies: 7
    Last Post: January 10th, 01:23 PM
  2. mysql and ruby 1.8
    By Stefan Schmiedl in forum Ruby
    Replies: 2
    Last Post: November 17th, 08:54 AM
  3. Replies: 2
    Last Post: October 22nd, 09:26 AM
  4. mysql-ruby 1.4.5 bug?
    By keith in forum Ruby
    Replies: 0
    Last Post: September 24th, 03:52 AM
  5. Replies: 2
    Last Post: August 9th, 04:08 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139