This is an outdated version of the Manual. Visit the NEW Manual


RedBeanPHP has fluid and frozen mode support for:

MySQL 5 and higher
SQLite 3.6.19 and higher
PostgreSQL 8 and higher
CUBRID (since 3.2)

To connect to a databases use:

'user','password'); //mysql

'user','password'); //postgresql

'user','password'); //sqlite

Since 3.2:

'user','password'); //CUBRID

To disconnect use: R::close(); (since 3.1)


RedBeanPHP Easy ORM for PHP © 2019 Gabor de Mooij and the RedBeanPHP community - Licensed New BSD/GPLv2