PHP Code:
Check configured database settings
DSN 
(write):  NOT OK(MDB2 Errorconnect failed)

Make sure that the configured database exists and that the user has write privileges
DSN
mysql://user:password@localhost/roundcube 
my mysql user i have tick all privileges.
i using cpanel.
what's my problems?