Using mysql in plugin sketchup
-
Hello, I'm new in SketchUcation, I want acceded to a mysql database in a plugin.
How to install mysql on ruby sketchup?Thanks.
Thomas.
-
-
Thank you.
I found yours !Loadpaths.rb used ruby script for windows but I can not install mysql on ruby 1.8.6 (gem install mysql) I get an error "mysql Requires Ruby version> = 1.8.7 ".
I am forced to use the same version (1.8.6) that sketchup? -
@tom40 said:
AM I forced to use the same version (1.8.6) that sketchup comes with ?
It is a good idea, but you can load another Ruby version easily on PC. (It's a bit more technical on Mac.)
See: Ruby Interpreter DLLs (Win32)
But you wouild also want to find a 1.8.7 full install to go with this.However... if you are writing a plugin for distribution, do not expect non-technical users to run SketchUp with a 1.8.7 Ruby.
-
@unknownuser said:
I want acceded to a mysql database in a plugin.
I have found that it is not worth the hassle. We instead access all such data through a WebDialog and data located remotely.
--J
-
i am writing a plugin for distribution,
do you think it is possible to import a component from a database? -
A component is a skp file that is loaded into SketchUp, from either a local directory (treated as a library,) or from a remote website.
Encapsulting skp files within another file container just adds unneeded complexity.
If you wish you CAN have a database that keeps track of the directory of components.
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