Possible to use MySQL?
  • Is it possible to use MySQL, i need it because i wanna write a php site and connect the server with the page, also this woul'd be able to register on site, status, profiles, etc..
  • Al is really the one to best answer this, but I'll toss my hat in till he arrives...

    I would think that anything is possible, but I am guessing it would require some amount of rewriting to the database functions for this... and I would suggest to you that it might be alot less work to simply use something like pg_connect - http://ca.php.net/pg_connect to connect with the current postgresql implementation.

    Is there any other reason other then connecting to the server with php that you believe you need MySQL or is it simply familiarity?
  • Firstly it will not be possible to use MySQL for cyphesis storage without a substantial re-write of the storage code. It is however perfectly possible to talk to PostgreSQL from php, and would be simple to learn for anyone who knows php already. Far simpler than modifying cyphesis to use MySQL.

    However, accessing the cyphesis tables directly is not at all supported, and is definitely not the correct way to do what you want. If you want to manage profiles and view the contents of the server, then you will need to connect to cyphesis from your php code using Atlas. I did some work in this direction a few years ago, but did not carry on with it. Instead I focused on writing python wrappers for use in web sites. The work is not yet complete, but it would be fairly simple for someone else to take on.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Sign In with Google Sign In with OpenID