Microsoft SQL PDO for CakePHP 2.x running on Linux

Lots of people looking for something like this on the Internet so I took a lot of information and compiled it together so that people can get hybrid style 2.x sites to connect to both MySQL and MSSQL without the need for a windows machine.

Not much to it folks just download the plugin and then set it up according to the git README. I’ve got a few things I have left to do on this including making some changes to the more advanced features that I haven’t fully tested but this should do for most basic things.

https://github.com/cpierce/microsoft-sql-pdo-for-cakephp-2.x

Join the Conversation

6 Comments

  1. Hi Chris,
    Thanks for sharing this! I was trying to use it in my application but I’m getting
    Warning (2): PDOStatement::getColumnMeta(): SQLSTATE[IM001]: Driver does not support this function: driver doesn’t support meta data [APP/Plugin/SybaseDB/Model/Datasource/Sybase.php, line 492]
    Do you know possible reasons why this is happening?
    Thanks a lot!

      1. I’m using AWS Linux, but not really sure what Sybase version I have.
        Could you help me to find it out?
        Thanks.

Leave a comment

Leave a Reply to russ Cancel reply

Your email address will not be published. Required fields are marked *