Hi, You need to install libmysqlclient-dev
On Sat, 26 Feb 2011 05:40:48 -0800 (PST), tUtOo <[email protected]> wrote: > I saw that in my file build.sh the path to mysql was wrong > > if [ -e "/usr/include/mysql/mysql.h" ] > > when i do locate mysql.h i dont find this file :( > > what can i do to fix it ?? > > thanks > > On 26 fév, 14:19, tUtOo <[email protected]> wrote: >> Thank you for your replies ! >> It works, all the modules are loaded when I launched APE ! and I >> confirm that we can use an APE's server name like >> "*.anything.domain.com" ! >> >> But, it seems that my module don't connect to MySQL ! :( >> >> /_\ | _ \ __| >> / _ \| _/ _| >> /_/ \_\_| |___| >> AJAX Push Engine >> >> Bind on port 6969 >> >> Version : 1.01dev >> Build : Feb 26 2011 12:46:49 >> Author : Weelya ([email protected]) >> >> [Module] [spidermonkey] Loading module : Javascript embeded (0.01) - >> Anthony Catel >> [JS] Loading script ../scripts/framework/mootools.js... >> [JS] Loading script ../scripts/framework/Http.js... >> [JS] Loading script ../scripts/framework/userslist.js... >> [JS] Loading script ../scripts/utils/utils.js... >> [JS] Loading script ../scripts/commands/proxy.js... >> [JS] Loading script ../scripts/commands/inlinepush.js... >> [JS] Loading script ../scripts/utils/checkTool.js... >> [JS] Loading script ../scripts/Mysql/MySQLDemo.js... >> >> > Here what I have in my MySQLDemo.js and that works in local : >> >> var Ape = new Class({ >> initialize: function() { >> this.sql = new >> Ape.MySQL("ip_server:3306", "user", "pass", >> "name_bd"); // Connexion MySQL. >> >> //onConnect callback >> this.sql.onConnect = function() >> { >> Ape.log( 'The >> server is started and you are now connected to >> MySQL server ' ); >> }, >> >> //onError callback >> this.sql.onError = >> function(errorNo) { >> >> Ape.log('Connection error ' + errorNo +' '+ >> this.errorString()); >> }, >> >> this.sql.query("SELECT 1" , >> function(result) { }.bind(this)); >> },}); >> >> var objape = new Ape(); >> >> Nothing happen ! No error and no message in the output ! >> I really don't understand ! >> >> Thanks again to help me >> >> info about new server: >> CentOS 5.5 + Plesk 9.5 32 bit >> >> On 25 fév, 22:26, Anthony Catel <[email protected]> wrote: >> >> > No, you can use *.anything.domain.com >> >> > Le 25/02/2011 20:19, Nicolas a crit : >> >> > > I think you indeed have to use the syntax ape.yourdomain.com >> >> > > Probably this can be changed somewhere in the code, but keep things >> > > simple and use ape... >> >> > > On 25 f v, 10:51, tUtOo<[email protected]> wrote: >> > >> a stupid question : >> > >> I called my sub domain : comet.www.[my_domain].fr >> >> > >> Do I have to call it : ape.[my_domain].fr ??? >> >> > >> Thnaks for the help ! >> >> > >> On 24 f v, 22:40, tUtOo<[email protected]> wrote:> Hi, All! >> >> > >>> I successfully used aped on my previous local server, and ape works >> > >>> well ! >> > >>> Now i must setup it on a dedicated server and i got problems: >> > >>> - when i launch APE (I installed APE from sources), the only >> > >>> things i >> > >>> get on outputs is >> > >>> [root....]# ./aped >> > >>> _ ___ ___ >> > >>> /_\ | _ \ __| >> > >>> / _ \| _/ _| >> > >>> /_/ \_\_| |___| >> > >>> AJAX Push Engine >> > >>> Bind on port 6969 >> > >>> Version : 1.01dev >> > >>> Build : Feb 20 2011 21:30:16 >> > >>> Author : Weelya ([email protected]) >> > >>> no modules loaded ! :( >> > >>> and if I do :http://subdomain.domain.fr/ape_jsf/Tools/Check/ >> > >>> I've got this : >> > >>> Connection etablished but something went wrong. Server response is >> > >>> [{"time":"1298581306","raw":"ERR","data": >> > >>> {"code":"003","value":"BAD_CMD"}}] >> > >>> Can anyone give me advice how solve this problems? which additional >> > >>> info is needed? >> > >>> info about new server: >> > >>> CentOS 5.5 + Plesk 9.5 32 bit >> > >>> Many thanks ! -- 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/
