• mrsergefrank

    (@mrsergefrank)


    Anyone knows how to connect a wordpress blog to a firebird database instead of a MySQL database, can this be done.

    You see…

    The problem is that the hosting partner that I am working with is hell bent never to use a MySQL database and will not accept it in his server. Because in his “database expert” opinion, he says that MySQL is unreliable and crashes.

    I really don’t care as long as I make my client happy, I know that the database to use will be very small only some posts and I highly doubt this amount of data will crash a database.

    Help!

Viewing 5 replies - 1 through 5 (of 5 total)
  • Samuel B

    (@samboll)

    he says that MySQL is unreliable and crashes.

    Absurd if configured correctly.

    I don’t think you will get firebird to work with wordpress.
    You could connect to a mysql database from a different server if you host [sic] will let you have remote connections.

    free mysql database services

    mariuz

    (@mariuz)

    wordpress doesn’t work by default on firebird
    you must create an port
    you can search on google for wordpress on postgres or wordpress on sqlite
    to give you some ideas of what patches must be made to create such an port

    the bad news wordpress doesnt use an proper DAL so it can’t be ported easily
    and good DAL is one from cakephp so the cake installer can be used with any database

    If there is enough money donated to firebird foundation or wordpress
    maybe it can be done

    thecrazyhostingpartner

    (@thecrazyhostingpartner)

    he says that MySQL is unreliable and crashes.

    Absurd if configured correctly.

    Well this is the “Crazy Hosting Partner”. Absurd Samboll? Absurd as in, “deserving of and inspiring ridicule and an unreasonable position”?

    Okay. I will respond to your flame.

    MySQL is for <i>children</i>. Well that is too harsh. It is when the project does not require any real assurances of data integrity and that <i>failure is an option</i>.

    Well I live in the business world where you cannot just be a “tech guy” or an “IT guy”. You also have to make decisions based on other criteria. We have databases that are responsible for credit card transactions, medical records, financial data.

    Regardless of how configured, MySQL has been historically unreliable and prone to crashes and data losses. Just about every website/forum/blog/service that I have been signed up that relies on MySQL has events <i><b>WHERE ENTIRE DAYS, WEEKS, AND MONTHS</i></b> of data has been lost.

    To deny this, is to deny reality itself. It’s all I ever hear about is how MySQL has corrupted, crashed, and lost member data.

    Well I don’t run a little website or a blog. I am in the business of running serious services for clients and I cannot accept the eventuality of MySQL screwing up my relationship with said clients.

    Only recently, has MySQL even started offering transactional services in the first place. Firebird/Interbase/MS SQL/Oracle are FAR MORE PROVEN PLATFORMS to host customer databases. <i>This is not bragging, or empty vapid statements from a Firebird fanboy.</i> I am purely relying on my own experience and that of many other people around the world.

    Obviously I am strongly against MySQL, I would hope that rational people realize that there are strong business reasons to demand certain levels of reliability from their infrastructures. Since I have heard of far too many websites and businesses suffering horrific losses of data, unacceptable downtime, etc. that MySQL just cannot be seriously considered as an option.

    So Samboll, I must say I take some offense by simply labeling my position as <i>absurd</i>.

    As for the ability to connect WordPress to Firebird, it is entirely possible to do so.

    The php code itself can be modified to use Firebird libraries instead of MySQL. That, in of itself, is fairly trivial. We have php classes that were written (by my partner) that offer a very robust data abstraction layer for Firebird in php.

    The vast majority of the SQL functions and statements are entirely compatible with Firebird. That is why the word “standard” is in the name. There are a few reserved keywords that need to be changed, but that is also fairly trivial.

    What is non-trivial is the InsertID feature of MySQL. There is nothing similar in Firebird and it needs to be created by hand. This is not impossible, but does require some sophisticated understanding of how Firebird works at a low-level.

    I am seriously considering that once we have WordPress properly working on Firebird and tested, that we will throw it up on Sourceforge or release the modified code.

    MySQL is for <i>children</i>

    Please firebird community, stop wasting time in trying to prove your superiority.

    mysql3 was crap, mysql5 isn’t. (And shouldn’t be blamed for any missing backup-plans)

    What is non-trivial is the InsertID feature of MySQL. There is nothing similar in Firebird and it needs to be created by hand.

    Firebird 2 introduces RETURNING clause for INSERT statements, so you can get the inserted value in a single go, just like with MySQL and some other database systems:

    INSERT INTO t1 (…) values (…) returning pk;

    PK
    ===========
    32

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘Connect WordPress to a Firebird database??’ is closed to new replies.