In my main.ape.js i put
sql = new Ape.MySQL("/var/run/mysqld/mysqld.sock", user, pass, db);
sql.onConnect = function() {
Ape.log('***Connected to mysql server \n');
}
Same exact code I have working on a debian server.
When I build from source(after installing libmysqlclient-dev, mysql-client,
mysql-server, zip, build-essential) it loads ape but it doesn't give the
"***Connected
to mysql server" message. After running for a bit, and other code trying
to use the mysql constructor that didn't connect, it says "*** glibc
detected *** ./aped: free(): invalid pointer: 0x00007fcc2802f480 ***"
With the deb package I get "symbol lookup error:
/usr/lib/ape/libmod_spidermonkey.so: undefined symbol: scramble"
--
You received this message because you are subscribed to the Google
Groups "APE Project" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
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/