David Martinez Castellanos wrote:
But I have created a simple PHP script and it does not connect with
sequoia. Here I send the script:

Can you check what is the output of
$ ldd mysql.so

And the output of
$ ldd mysqli.so

commands?

Is this two extension linked to libmysqlclient or libmysequoia?

The mysqli extension is more easy to configure than the mysql extension. The following line is enough:

$ ./configure ... --with-mysqli=shared,/usr/bin/mysequoia_config

For the mysql extension you need to tweak the ./configure script because the link to libmysqlclient.so is hardcoded.


        $link = @mysql_connect("172.16.178.112", "sequoia", "sequoia");

My proposal is to use the mysqli extension and not the mysql extension if possible. Anyway both extension must work but for a new project is better to use the new extension.

I have no idea what's next.

Also please check the /etc/mysequoia/mysequoia.conf file and put the right values for host, user, password, database.

The log file is in /tmp/mysequoia.log Please check this also. You can set the debug level in /etc/mysequoia/logger.conf file from ERROR to DEBUG.

Can someone help me?.

Hope that is was helpful. Please post your progress to this list.

Best regards,
Csaba

_______________________________________________
Carob mailing list
[email protected]
https://forge.continuent.org/mailman/listinfo/carob

Reply via email to