RoundCube Webmail Forum  

Go Back   RoundCube Webmail Forum > Release Support > Release Discussion

For more information about the ads and why they're here, please see the FAQ
Reply
  #1  
Old 10-08-2007, 09:19 AM
Registered User
 
Join Date: Oct 2007
Posts: 7
Downloads: 0
Uploads: 0
Default [Config] how to set mysql password

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’;
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';
?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2  
Old 10-08-2007, 09:29 AM
Super Moderator
 
Join Date: Jun 2006
Posts: 431
Downloads: 0
Uploads: 0
Send a message via ICQ to skaero Send a message via AIM to skaero Send a message via MSN to skaero Send a message via Yahoo to skaero
Default Re: [Config] how to set mysql password

Yes I think thats how you would set it up if you had no password on you mysql db.
__________________
[size=8pt]SKaero.com <br />&nbsp; [/size]
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3  
Old 10-08-2007, 11:50 AM
Registered User
 
Join Date: Oct 2007
Posts: 7
Downloads: 0
Uploads: 0
Default Re: [Config] how to set mysql password

Quote:
DATABASE ERROR: CONNECTION FAILED!

Unable to connect to the database!
Please contact your server-administrator.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4  
Old 10-08-2007, 02:39 PM
Registered User
 
Join Date: Oct 2007
Posts: 7
Downloads: 0
Uploads: 0
Default Re: [Config] how to set mysql password

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';
but it doesn't work, yet.

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5  
Old 10-09-2007, 08:12 AM
Registered User
 
Join Date: Oct 2007
Posts: 7
Downloads: 0
Uploads: 0
Default Re: [Config] how to set mysql password

Quote:
$rcmail_config[’db_dsnw’] = ‘mysql://roundcubeassword@localhost/roundcube’;
Is the red part for the system user?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #6  
Old 10-09-2007, 12:29 PM
Registered User
 
Join Date: Oct 2007
Posts: 1
Downloads: 0
Uploads: 0
Default Re: [Config] how to set mysql password

Quote:
Originally Posted by YtseDrummer
Quote:
$rcmail_config[’db_dsnw’] = ‘mysql://roundcubeassword@localhost/roundcube’;
Is the red part for the system user?
It's mysql://<MYSQL USERNAME>:<PASSWORD>@localhost/<DATABASENAME

so if you create a new MySQL user "roundcube" then indeed it is the correct username.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

For more information about the ads and why they're here, please see the FAQ

All times are GMT. The time now is 04:02 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0
Copyright © 2006-2008 RoundCube Webmail Community