About Mysql and Ruby (it's working)
-
Hy! Finally (a few weeks ago, but had not time to share it) I was able to connect to mysql database using ruby under sketchup. I don't know if this will work with MYSQL 5.1, because I have MYSQL 5.0. The main problem was a discordance between libmysql.dll and mysql.so, fixed with the right version of mysql.so (by accident).
So, what you need: install MYSQL 5.0, then copy the content of attached archive in SketchUp's Plugins folder (it works also under Plugins\ruby folder).
Next step is easy:require 'mysql-2.7.3-mswin32/ext/mysql.so' ...your code...Documentation about using the library can be found here http://tmtm.org/en/mysql/ruby/
I made a simple database and it worked well. Let me know if you encounter some strange behaviours like SketchUp freezing out and "server timed out" errors... this is what happened to me at the first time, when using the wrong version of mysql.so
-
Ooohhh, this looks good!
too.....many....cool.....projects, .....not................enough....time.......in...the..............day. <chris dies>
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better π
Register LoginAdvertisement