Yii2 + MemSQL examples

Hello every one

I’m developing on Yii2 framework

Have somebody example of connect to MemSQL from Yii2, or maybe PHP examples?

Sure would be cool also examples of SELECT, UPDATE, DELETE also

Thanks

Hi dennis

While I don’t have any specific examples of Yii2 and MemSQL working together, but MemSQL is MySQL compliant, so if you can find MySQL examples, it should just work with MemSQL. Let me know if you have any specific questions, however.

Working with MemSQL is same like with MySQL?!

Well, no, on an architecture level, MemSQL and MySQL are not the same.

What I am saying is that MemSQL is wire compatible with MySQL, which means that generally things should work the same when connecting to tools or APIs. What I am recommend is simply following the instructions for MySQL and Yii2 and see if it works: https://www.yiiframework.com/doc/guide/2.0/en/start-databases

It just should work. Feel free to update us.