Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
请让我知道如何在 YII 框架中使用对我来说是新的 nuodb。
我的配置/main.php
'db'=>array('connectionString' => 'nuodb:host=localhost:8080;dbname=getbusy'
数据库中的用户名是:
username=root password=123456
这个可以吗?
我推荐这个指南:
http://www.nuodb.com/techblog/2013/04/23/nuodb-how-to-turn-lamp-into-a-powerful-scale-out-software-bundle/
上面代码中的连接字符串看起来是错误的,如果你正确安装了 nuodb for php,你的连接字符串应该看起来像(但不完全是)如下:
'db'=>array('connectionString' => "nuodb:database=getbusy@localhost"