Please take our Survey
logo       

Choosing A Webhost:
A web hosting service is a type of Internet hosting service that allows individuals and organizations to provide their own website accessible via the World Wide Web. Web hosts are companies that provide space on a server they own for use by their clients as well as providing Internet connectivity, typically in a data center. Web hosts can also provide data center space and connectivity to the Internet for servers they do not own to be located in their data center, called colocation. more...

Re: Re: libmysequoia-0.9.8: msg#00005

db.carob.general

Subject: Re: Re: libmysequoia-0.9.8

Hi Alex,

FYI, I was able to run a python script using libmysequoia on freebsd, after having installed py24-MySQLdb-devel-1.2.2.b2 package with a command like:
LD_PRELOAD=<path_to_libmysequoia>/libmysequoia.so python <myscript>.py

As MacOS-X is based on freebsd, there should be no problem running it on darwin.

Thanks to keep us posted,
Gilles.


Csaba E. Simon wrote:
Hello Alex,

I will answer your question on the mailing list. Probably somebody else
also will find this answers useful.

  
I successfully installed libmysequoia on Apple Mac OS X. What's next?
The goal is to connect from Python to MySQL.
    

Congratulation!

If you want only to connect to MySQL through Python than you need only
the MySQLdb [1] Python connector. You don't need libmysequoia in that
case.

libmysequoia is supposed to be a "libmysqlclient like" library to
connect to the Sequoia [2] cluster. libmysequoia and libmysqlclient
share the same API (or almost the same, see the limitations [3])

  
I didn't succeeded to start the "daemon", I can't find the
controller.sh. How can I change the "username", "password" for the
carob "make test" ?
    

The controller.sh is part of the Sequoia database cluster. First you
need to download [4], install and configure the cluster. After that you
can start the controllers following the guidance from here [5] I
recommend the 2.10 stable branch.

  
In libmysequoia-0.9.8 in Converter.cpp at lines: 95, 141 "char *inbuf"
must be "const char *inbuf"
    

Thanks for your bug report. I will fix this.

Hope that helps.

Regards,
Csaba

[1] http://mysql-python.sourceforge.net/
[2] http://sequoia.continuent.org/HomePage
[3] http://carob.continuent.org/LibMySequoia
[4] https://forge.continuent.org/frs/?group_id=6
[5] http://sequoia.continuent.org/Manuals

PS: for anybody wondering what kind of language is below: it is
Hungarian :-)

On Mon, 2007-04-02 at 15:47 +0200, Alex Toth wrote:
  
Hello,

Sikerult telepiteni a libmysequoia-t Apple Mac OS X-ben. Kerdesem: hogyan tovabb? A cel hogy python-bol csatlakozzak MySQL-hez.

Nem sikerul elinditani a "daemon"-t, nem talalom a ./controller.sh. Honnan lehet valtoztatni a "username", "password" a carob "make test"-hez?


Ezeket probaltam a carob-r0_7_3:
make OS=darwinports
make test OS=darwinports
## probaltam valtoztatni a test/ConnectionSetup.hpp -ben 
a const static std::wstring& DEFAULT_USER -t, de nem jo..

A libmysequoia-0.9.8 -ban Converter.cpp kellet atirni: "char *inbuf" hejet "const char *inbuf" (lines: 95, 141) 

./configure --with-carob-headers=/usr/local/include/carob/ --with-carob-lib=/usr/local/lib/ --with-log4cxx-headers=/usr/local/include/ --with-log4cxx-lib=/usr/local/lib --with-mysql-headers=/usr/local/mysql/include/
make

Udv, Alex
    


_______________________________________________
Carob mailing list
Carob-RyYwo1q5J+pm4DMUGMHt/jIQnlzKTOB+HZ5vskTnxNA@xxxxxxxxxxxxxxxx
https://forge.continuent.org/mailman/listinfo/carob

  
_______________________________________________
Carob mailing list
Carob-RyYwo1q5J+pm4DMUGMHt/jIQnlzKTOB+HZ5vskTnxNA@xxxxxxxxxxxxxxxx
https://forge.continuent.org/mailman/listinfo/carob
<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

Recently Viewed:
ide.eclipse.wtp...    bug-tracking.ro...    xfree86.cvs/200...    lisp.wxcl.devel...    file-systems.ar...    kde.devel.kwrit...    jakarta.jetspee...    qnx.openqnx.dev...    drivers.openib/...    ports.xbox.deve...    gis.gdal.devel/...    netbsd.ports.ma...    ubuntu.marketin...    systemtap/2005-...    web.omniweb/200...    mail.qmail.ldap...    hardware.soekri...    os.netbsd.devel...    audio.madman.ge...    tv.freeguide-tv...    cluster.openmos...    education.ezpro...   
Home | advertise | OSDir is an inevitable website. super tiny logo

Free Magazines

Cisco News
Receive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business.
subscribe

Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field.
subscribe

The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business.
subscribe

Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company.
subscribe

Total Telecom Total Telecom is "The Economist of the communications industry".
subscribe

Navigation