Release Support > Release Discussion

[Config] how to set mysql password

(1/2) > >>

YtseDrummer:
Hi everybody!

I'm installing roundcubemail-0.1-rc1.1 and I'm just editing


--- Code: ---$rcmail_config[’db_dsnw’] = ‘mysql://roundcube:password@localhost/roundcube’;
--- End code ---

in

db.inc.php

Now, I have no password on mysql, is it right this configuration:


--- Code: ---$rcmail_config['db_dsnw'] = 'mysql://roundcube:@localhost/roundcubemail';

--- End code ---

?

SKaero:
Yes I think thats how you would set it up if you had no password on you mysql db.

YtseDrummer:

--- Quote ---DATABASE ERROR: CONNECTION FAILED!

Unable to connect to the database!
Please contact your server-administrator.

--- End quote ---

YtseDrummer:
I set the password on mysql an then edit the configuration file in this way:


--- Code: ---$rcmail_config['db_dsnw'] = 'mysql://roundcube:root@localhost/roundcubemail';

--- End code ---

but it doesn't work, yet.

YtseDrummer:

--- Quote ---$rcmail_config[’db_dsnw’] = ‘mysql://roundcube:password@localhost/roundcube’;
--- End quote ---

Is the red part for the system user?

Navigation

[0] Message Index

[#] Next page

Go to full version