APE 1.1 and MySQL on CentOS

80 views
Skip to first unread message

Jay Rivers

unread,
Apr 2, 2012, 3:12:31 PM4/2/12
to APE Project
I cannot get MySQL working on APE. onConnect and onError never get
called. I get scramble undefined or sql.query unfound.
I've tried several branches and still no luck. Been looking around
google for a while now and no luck.

Pablo Tejada

unread,
Apr 2, 2012, 3:26:33 PM4/2/12
to ape-p...@googlegroups.com
It doesn't work is broken, search this group and might find some
useful insights about it. Although there is a specific commit of the
project on which MySql works, i think is v1.0.8 im not sure. If you do
the right search on this group you could find the exact commit from
github.

Good Luck

Sent from my iPhone

> --
> You received this message because you are subscribed to the Google
> Groups "APE Project" group.
> To post to this group, send email to ape-p...@googlegroups.com
> To unsubscribe from this group, send email to
> ape-project...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/ape-project?hl=en
> ---
> APE Project (Ajax Push Engine)
> Official website : http://www.ape-project.org/
> Git Hub : http://github.com/APE-Project/

Jay Rivers

unread,
Apr 2, 2012, 3:39:55 PM4/2/12
to ape-p...@googlegroups.com
Hmm.. that's not too promising. There aren't any known ways to get it
working?

Pablo Tejada

unread,
Apr 2, 2012, 3:50:45 PM4/2/12
to ape-p...@googlegroups.com
What i do is use inlinepush instead. I work on PHP so i do all the
logic and querying in PHP and just push the info to the APE server for
relay. That way i dont really have to code a whole lot of ape modules
either.

http://www.ape-project.org/wiki/index.php/Inlinepush

Sent from my iPhone

Matija Hiti

unread,
Apr 2, 2012, 3:52:20 PM4/2/12
to ape-p...@googlegroups.com
Hi,

I got mysql working on Centos for quite some time now, works pretty fine, unfortunately I'm not sure about the version, its 1.something....  But I can send you the server files, if you want.

Matija

On 2 April 2012 21:39, Jay Rivers <j...@groupm7.com> wrote:
Hmm.. that's not too promising. There aren't any known ways to get it working?


On 4/2/2012 2:26 PM, Pablo Tejada wrote:
It doesn't work is broken, search this group and might find some
useful insights about it. Although there is a  specific commit of the
project on which MySql works, i think is v1.0.8 im not sure. If you do
the right search on this group you could find the exact commit from
github.

Good Luck

Sent from my iPhone

On Apr 2, 2012, at 3:12 PM, Jay Rivers<jriver...@gmail.com>  wrote:

I cannot get MySQL working on APE. onConnect and onError never get
called. I get scramble undefined or sql.query unfound.
I've tried several branches and still no luck. Been looking around
google for a while now and no luck.

--
You received this message because you are subscribed to the Google
Groups "APE Project" group.
To post to this group, send email to ape-p...@googlegroups.com
To unsubscribe from this group, send email to

For more options, visit this group at
http://groups.google.com/group/ape-project?hl=en
---
APE Project (Ajax Push Engine)
Official website : http://www.ape-project.org/
Git Hub : http://github.com/APE-Project/
--
You received this message because you are subscribed to the Google
Groups "APE Project" group.
To post to this group, send email to ape-p...@googlegroups.com
To unsubscribe from this group, send email to

Jay Rivers

unread,
Apr 2, 2012, 3:53:58 PM4/2/12
to ape-p...@googlegroups.com
If you could, that would be great.

On 4/2/2012 2:52 PM, Matija Hiti wrote:
Hi,

I got mysql working on Centos for quite some time now, works pretty fine, unfortunately I'm not sure about the version, its 1.something....  But I can send you the server files, if you want.

Matija

On 2 April 2012 21:39, Jay Rivers <j...@groupm7.com> wrote:
Hmm.. that's not too promising. There aren't any known ways to get it working?


On 4/2/2012 2:26 PM, Pablo Tejada wrote:
It doesn't work is broken, search this group and might find some
useful insights about it. Although there is a  specific commit of the
project on which MySql works, i think is v1.0.8 im not sure. If you do
the right search on this group you could find the exact commit from
github.

Good Luck

Sent from my iPhone

On Apr 2, 2012, at 3:12 PM, Jay Rivers<jriver...@gmail.com>  wrote:

I cannot get MySQL working on APE. onConnect and onError never get
called. I get scramble undefined or sql.query unfound.
I've tried several branches and still no luck. Been looking around
google for a while now and no luck.

--
You received this message because you are subscribed to the Google
Groups "APE Project" group.
To post to this group, send email to ape-p...@googlegroups.com
To unsubscribe from this group, send email to

For more options, visit this group at
http://groups.google.com/group/ape-project?hl=en
---
APE Project (Ajax Push Engine)
Official website : http://www.ape-project.org/
Git Hub : http://github.com/APE-Project/

--
You received this message because you are subscribed to the Google
Groups "APE Project" group.
To post to this group, send email to ape-p...@googlegroups.com
To unsubscribe from this group, send email to

For more options, visit this group at
http://groups.google.com/group/ape-project?hl=en
---
APE Project (Ajax Push Engine)
Official website : http://www.ape-project.org/
Git Hub : http://github.com/APE-Project/
--
You received this message because you are subscribed to the Google
Groups "APE Project" group.
To post to this group, send email to ape-p...@googlegroups.com
To unsubscribe from this group, send email to

Andrew Smith

unread,
Apr 2, 2012, 7:11:49 PM4/2/12
to ape-p...@googlegroups.com
I got MySQL connectivity working by checking out the APE project from git, switching to the v1.1.0 release, and recompiling.  I had to modify two files so the mysqlclient .so files could be resolved (on my Fedora/RedHat system that meant adding -L/usr/lib64/mysql to the compiler link paths).  

I was able co compile the "trunk" (aka latest release) from git successfully also in the same manner but never got MySQL connectivity working fully (the demos never worked).

With v1.1.0 both the demos and later my application worked great.

Good luck!

-Andy

Michele Vezzoli

unread,
Apr 3, 2012, 3:30:20 AM4/3/12
to ape-p...@googlegroups.com
Hi,

I have the same problem in the git version (1.1.2-dev) in a Debian squeeze default enviroment, I have recompile the lib mod spidermonkey, the MySql object start (Ape.log retrun a 'native code' function) but don't send the query , in the constructor of object I use this format ip:port (127.0.0.1:3306)  for the address  (other way would crash the ape server) , for this time I have fallback to http request, but mysql support is vital! 


Bye
:)


2012/4/3 Andrew Smith <apsmi...@gmail.com>



--

Michele Vezzoli   IT Manager
 
TEL: +39.030.5230600  MOB: +39.328.0555322   FAX: +39.030.5230600  SKYPE: michele.vezzoli.vardump
VarDump S.r.l. - www.var-dump.it
 
This e-mail message does not imply or cause any obligation, unless it is provided by a previous written agreement. This message is confidential: if you have received it by mistake, please advise immediately the sender by e-mail and destroy the message and its attachments. You are hereby notified that any unauthorized use of the content of this message could constitute a criminal offence. Thank you.

Lloyd Adler

unread,
Aug 27, 2012, 2:28:13 AM8/27/12
to ape-p...@googlegroups.com
Do you still have these files? If so, I would be more than happy if you could share them with me.
Thanks.


Den måndagen den 2:e april 2012 kl. 21:52:20 UTC+2 skrev matija:
Hi,

I got mysql working on Centos for quite some time now, works pretty fine, unfortunately I'm not sure about the version, its 1.something....  But I can send you the server files, if you want.

Matija

On 2 April 2012 21:39, Jay Rivers <j...@groupm7.com> wrote:
Hmm.. that's not too promising. There aren't any known ways to get it working?


On 4/2/2012 2:26 PM, Pablo Tejada wrote:
It doesn't work is broken, search this group and might find some
useful insights about it. Although there is a  specific commit of the
project on which MySql works, i think is v1.0.8 im not sure. If you do
the right search on this group you could find the exact commit from
github.

Good Luck

Sent from my iPhone

On Apr 2, 2012, at 3:12 PM, Jay Rivers<jriver...@gmail.com>  wrote:

I cannot get MySQL working on APE. onConnect and onError never get
called. I get scramble undefined or sql.query unfound.
I've tried several branches and still no luck. Been looking around
google for a while now and no luck.

--
You received this message because you are subscribed to the Google
Groups "APE Project" group.
To post to this group, send email to ape-p...@googlegroups.com
To unsubscribe from this group, send email to

For more options, visit this group at
http://groups.google.com/group/ape-project?hl=en
---
APE Project (Ajax Push Engine)
Official website : http://www.ape-project.org/
Git Hub : http://github.com/APE-Project/

--
You received this message because you are subscribed to the Google
Groups "APE Project" group.
To post to this group, send email to ape-p...@googlegroups.com
To unsubscribe from this group, send email to
Reply all
Reply to author
Forward
0 new messages