FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » FUDforum » How To » mysql port change
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
Re: mysql port change [message #28115 is a reply to message #28109] Tue, 11 October 2005 16:11 Go to previous message
sjcomp is currently offline  sjcomp   United States
Messages: 12
Registered: June 2005
Karma:
Junior Member
I found function fud_egw($t='index', $plain=0), which has the following lines:
switch ($server['db_type']) {
case 'mysql':
    $func = $server['db_persistent'] ? 'mysql_pconnect' : 'mysql_connect';
    define('fud_sql_lnk',$func($db->Host, $db->User, $db->Password));
    mysql_select_db($db->Database,fud_sql_lnk);
    break;


So I changed line
define('fud_sql_lnk',$func($db->Host, $db->User, $db->Password));

to
define('fud_sql_lnk',$func('loclalhost:XXX', $db->User, $db->Password));

And it worked. I have mulitple files which had this line under fudforum directory in egroupware and under files directory outside the webroot, so I changed all of them Smile

Thanks a lot for your help. It is a quick fix, but it worked.


Regards, Alexander.
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Step by step mailing list instructions
Next Topic: Ignore User Override vs Ignore Administrative Messages
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Fri Sep 20 12:34:22 GMT 2024

Total time taken to generate the page: 0.04783 seconds