Hi JC,
The elaborate breakdown for using ./myscript.sh was really helpful.
Apart from editing the wiki pages you pointed to, I was thinking maybe
editing
https://github.com/dbpedia/extraction-framework/wiki/Extraction-Instructionswould
be a good idea. As a beginner, the reason I got into the loophole of
moving to data abstractions was from this page. Wherein there were abstract
instructions about using ./myscript.sh. What would you suggest ?
Thank You,
Shivani
On Fri, Apr 12, 2013 at 10:07 AM, Jona Christopher Sahnwaldt <
[email protected]> wrote:
> On 12 April 2013 03:43, Shivani Poddar <[email protected]> wrote:
> > Hi JC,
> > Thanks a lot for replying :)
> >
> > On the basis of the guideline you gave I ran the following :
> > -> To locate the directory containing my MySQL binaries
> >
> > $ shivani ~-->$ which mysql
> > /usr/bin/mysql
> >
> > -> Next to set my respective environment variable :
> >
> > $ shivani ~-->$ export MYSQL_HOME="/usr/bin/"
> > (since it requires the directory of the mysql binaries)
>
> Oh, I'm sorry. I should have been more specific. The mysql.sh script
> only works with a MySQL installation where all files are in one
> directory structure. The MySQL that comes with the Linux distributions
> has its files spread over many places. When I extracted the abstracts,
> the default Ubuntu MySQL didn't work for me, so I removed it,
> downloaded a MySQL bundle and unpacked it.
>
> I think there are several things you can do:
>
> 1. download and install MySQL to some directory, set MYSQL_HOME to
> that directory
> 2. Maybe you already have a directory where all the MySQL scripts and
> binaries live. Maybe in /usr/lib or so.
> 3. Don't use mysql.sh, but copy the server and client settings from
> mysql.sh, e.g. default-character-set=utf8, to your config files.
>
> Maybe these pages can help you:
>
>
> https://github.com/dbpedia/extraction-framework/wiki/Dbpedia-Abstract-Extraction--Step-by-step
> http://wiki.dbpedia.org/AbstractExtraction
>
> https://github.com/dbpedia/extraction-framework/wiki/Extraction-Instructions
>
> >
> > -> Finally I ran the ./mysql command as follows :
> >
> > $ shivani ~/extraction-framework/dump/src/main/bash-->$ ./mysql.sh
> install
> > data./mysql.sh: line 51: ./scripts/mysql_install_db: No such file or
> > directory
> >
> > which is giving me an error.
> > Running ./mysql install alone gives me a list of instructions as to how
> to
> > use the script.
> >
> > Also, since this is one of the very beginning build milestones, I am
> looking
> > at enhancing the documentation with this query.
> > As suggested in the warm up tasks for GSoC-2013 guide. I hope this would
> be
> > good for it.
>
> That would be great! You can edit the wiki pages I pointed to, or you
> can start a new page on our GitHub wiki. Thanks!
>
> JC
>
> >
> > Thanks you,
> > Shivani
> >
> >
> >
> >
> >
> >
> > On Fri, Apr 12, 2013 at 5:52 AM, Jona Christopher Sahnwaldt
> > <[email protected]> wrote:
> >>
> >> Hi Shivani,
> >>
> >> mysql.sh is not well documented and not even really finished, thus the
> >> mean error message. We don't hate you. The "I hate you" message was
> >> inspired by CVS. :-)
> >>
> >> Before you can use mysql.sh, you have to set MYSQL_HOME environment
> >> variable to the directory where you installed the MySQL binaries.
> >>
> >> "./mysql.sh INSTALL" doesn't work, use "./mysql.sh install". As usual
> >> in UNIX, upper/lower case matters.
> >>
> >> Cheers,
> >> JC
> >>
> >> On 12 April 2013 02:07, Shivani Poddar <[email protected]>
> wrote:
> >> >
> >> > Hi,
> >> > I have been trying to install MySQL via the server script ./mysql.sh
> as
> >> > instructed at
> >> >
> >> >
> https://github.com/dbpedia/extraction-framework/wiki/Extraction-Instructions
> .
> >> >
> >> > The usage of the script is a little ambiguous.
> >> > There were 2 approaches I followed here :
> >> > 1. Run the command ./mysql.sh install data wherein data was the path
> to
> >> > the
> >> > folder containing the wikipedia XML dumps which gave me the following
> >> > error
> >> > :
> >> >
> >> > $ shivani ~/extraction-framework/dump/src/main/bash-->$ ./mysql.sh
> >> > install
> >> > /home/shivani/extraction-framework/dump/sample_xml_dumps
> >> > ./mysql.sh: line 51: ./scripts/mysql_install_db: No such file or
> >> > directory
> >> >
> >> > 2. I tried running this over a database i created (which was naive but
> >> > landed me on an interesting output)..:
> >> >
> >> > $ shivani ~/extraction-framework/dump/src/main/bash-->$ ./mysql.sh
> >> > INSTALL
> >> > data
> >> > I hate you.
> >> >
> >> > (here data is the database i created above)
> >> >
> >> > Would be great if someone could give some explanation regarding the
> >> > above.
> >> >
> >> > Thank You,
> >> > Shivani Poddar
> >> >
> >> >
> >> >
> >> >
> ------------------------------------------------------------------------------
> >> > Precog is a next-generation analytics platform capable of advanced
> >> > analytics on semi-structured data. The platform includes APIs for
> >> > building
> >> > apps and a phenomenal toolset for data science. Developers can use
> >> > our toolset for easy data analysis & visualization. Get a free
> account!
> >> > http://www2.precog.com/precogplatform/slashdotnewsletter
> >> > _______________________________________________
> >> > Dbpedia-gsoc mailing list
> >> > [email protected]
> >> > https://lists.sourceforge.net/lists/listinfo/dbpedia-gsoc
> >> >
> >
> >
> >
> >
> > --
> > Shivani Poddar,
> > Bachelors in Computer Sciences and MS in Exact Humanities, Sophomore
> > International Institute of Information Technology, Hyderabad
>
--
Shivani Poddar,
Bachelors in Computer Sciences and MS in Exact Humanities, Sophomore
International Institute of Information Technology, Hyderabad
------------------------------------------------------------------------------
Precog is a next-generation analytics platform capable of advanced
analytics on semi-structured data. The platform includes APIs for building
apps and a phenomenal toolset for data science. Developers can use
our toolset for easy data analysis & visualization. Get a free account!
http://www2.precog.com/precogplatform/slashdotnewsletter
_______________________________________________
Dbpedia-gsoc mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dbpedia-gsoc