Author Topic: MySQL port  (Read 12666 times)

Offline coverboe

  • Newbie
  • *
  • Posts: 1
MySQL port
« on: July 20, 2006, 04:51:32 PM »
I have my mysql server on a different port than the standard port.
How do I make my connect string connect to it?
I've tried... $rcmail_config['db_dsnw'] = 'mysql://roundcube:*******@localhost:3307/roundcubemail';
But, I just get a blank page when going to the webpage.
Also, is there a way to encrypt the password in this connect string?
Thanks,
Craig

Offline bpat1434

  • Administrator
  • Hero Member
  • *****
  • Posts: 673
Re: MySQL port
« Reply #1 on: July 24, 2006, 09:01:40 AM »
Quote
Also, is there a way to encrypt the password in this connect string?
No. If you encrypt it, you'll later have to decrypt it for the mysql_connect() call which takes the password as a string. This is not a security risk as NUMEROUS scripts do this.

Quote
I have my mysql server on a different port than the standard port.
How do I make my connect string connect to it?
Currently you can't. But I'll look into seeing if it's an easy change or not.
 
  

Offline skolodez

  • Newbie
  • *
  • Posts: 1
MySQL port
« Reply #2 on: September 20, 2011, 04:46:00 PM »
Does something changed in this problem with roundcube (non-standard mysql port) ?
I'm trying to set up version 0.5.4.