Hi, I have build Ape Project in CentOS with MySql support. Everything
works except for MySQL I used this script from the ape's wiki:
function MySQLConnect(ip, user, password, database) {
var sql = new Ape.MySQL(ip + ":3306", user, password,
database);
//onConnect callback
sql.onConnect = function() {
Ape.log('You are now connected to MySQL server');
}
//onError callback
sql.onError = function(errorNo) {
Ape.log('Connection error');
}
return sql;
}
//connect to MySQL Server
/**
* /!\ You must specify a user and password, mysql module does not
yet support connecting with a user without password. /!\
*/
var sql = MySQLConnect('127.0.0.1', 'user', 'password',
'database'); //The ''ip'' value must be a valid IP and not a host
name.
It's supposed to give me 'You are now connected to MySQL server' or
'Connection error' but nothings happens!
Sorry for my english.
Greetings!
--
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/