Members: 16,996
Threads: 38,846
Posts: 159,391
Online: 22

Newest Member: Kl_broka@rediffmail.com


Odoo.tv - Outdoor Television


Sedo - Domains kaufen und verkaufen das Projekt mambers.com steht zum Verkauf Besucherstatistiken von mambers.com etracker® Web-Controlling statt Logfile-Analyse
Old 11.04.2004, 20:53   #1 (permalink)
Baby Mamber
 
Join Date: Apr 2004
Posts: 9
titansking is on a distinguished road
Question Mysql Port Options

Hi,

I am new to Mambo and i am using Mambo 4.5 [1.0.7]

My mysql server is running on port 3316 rather than the default 3306. is there anyway i can make mambo query mysql database on port 3316 rather than port 3306.

thanks in advance

regards
victor
titansking is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Sponsored Links
Old 11.04.2004, 21:12   #2 (permalink)
Senior Mamber
 
Gayle's Avatar
 
Join Date: Apr 2004
Posts: 140
Gayle is on a distinguished road
Default Re: Mysql Port Options

just add the port to the end of the host in the configuration.php.

e.g. mysql.domain.com:3316
__________________
"Unix gives you just enough rope to hang yourself -- and then a couple of more feet, just to be sure" --- Eric Allman
Gayle is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Old 13.04.2004, 12:05   #3 (permalink)
Baby Mamber
 
Join Date: Apr 2004
Posts: 9
titansking is on a distinguished road
Default Re: Mysql Port Options

Sorry it doesnt work. My Core Mambo works fine with this. But when i install components and modules, it doent go thru. They just cant recognize the new port number.

Thanks in Advance
titansking is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Old 13.04.2004, 17:28   #4 (permalink)
mmx
Expert Mamber
 
Join Date: Apr 2004
Location: Virginia Beach, Virginia USA
Posts: 309
mmx is on a distinguished road
Send a message via MSN to mmx
Default Re: Mysql Port Options

Could it be done programmically using something like:

<?php ini_set("mysql.default_port", "3316"); ?>

or via .htaccess using something like:

php_value mysql.default_port 3316


Quote:
Originally Posted by Gayle
just add the port to the end of the host in the configuration.php.

e.g. mysql.domain.com:3316
mmx is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Old 17.04.2004, 16:41   #5 (permalink)
Baby Mamber
 
Join Date: Apr 2004
Posts: 9
titansking is on a distinguished road
Default Re: Mysql Port Options

Sorry guys none of the options mentioned above work for me. Is there any other way to tell mambo to connect to the mysql server on a specific port eg 3316 rather than the default one running at 3306.

Pls Help

Thanks in advance
titansking is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Old 17.04.2004, 17:07   #6 (permalink)
mmx
Expert Mamber
 
Join Date: Apr 2004
Location: Virginia Beach, Virginia USA
Posts: 309
mmx is on a distinguished road
Send a message via MSN to mmx
Default Re: Mysql Port Options

Quote:
Originally Posted by titansking
Sorry guys none of the options mentioned above work for me. Is there any other way to tell mambo to connect to the mysql server on a specific port eg 3316 rather than the default one running at 3306.

Pls Help

Thanks in advance
Get into admin and go to System > System Info, then copy the information on screen and paste it in a message within this thread.
mmx is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Old 17.04.2004, 17:18   #7 (permalink)
Baby Mamber
 
Join Date: Apr 2004
Posts: 9
titansking is on a distinguished road
Default Re: Mysql Port Options

Here is the System Info

PHP built On: Linux daffy.perf.redhat.com 2.4.18-11smp #1 SMP Thu Aug 15 06:41:59 EDT 2002 i686 i686 i386 GNU/Linux
Database Version: 3.23.54
PHP Version: 4.2.2
Web Server: Apache/2.0.40 (Red Hat Linux)
WebServer to PHP interface: apache2filter
Mambo Open Source Version: 4.5 Stable-1.0.7 [Sinatra] 07/04/2004 13:20 GMT
User Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1)
Relevent PHP Settings: Safe Mode: OFF
Open basedir: none
Display Errors: ON
Short Open Tags: ON
File Uploads: ON
Magic Quotes: ON
Register Globals: ON
Output Buffering: OFF
Session save path: /tmp
Session auto start: 0
XML enabled: Yes
Zlib enabled: Yes
Disabled Functions: none
WYSIWYG Editor: htmlarea2

Configuration File: <?php
$mosConfig_offline = '0';
$mosConfig_host = 'xxxxxx'
$mosConfig_user = 'xxxxxx'
$mosConfig_password = 'xxxxxx'
$mosConfig_db = 'xxxxxx'
$mosConfig_dbprefix = 'mos_';
$mosConfig_lang = 'english';
$mosConfig_absolute_path = '/var/www/linux';
$mosConfig_live_site = 'http://www.linux.biz';
$mosConfig_sitename = 'Welcome : Linux';
$mosConfig_shownoauth = '0';
$mosConfig_emailpass = '1';
$mosConfig_offline_message = 'This site is down for maintenance.
Please check back again soon.';
$mosConfig_error_message = 'This site is temporarily unavailable.
Please notify the System Administrator';
$mosConfig_UseBanner = '1';
$mosConfig_debug = '0';
$mosConfig_lifetime = '900';
$mosConfig_MetaDesc = 'Mambo Open Source - the dynamic portal engine and content management system';
$mosConfig_MetaKeys = 'mambo, mambo open source, Mambo, Mambo Open Source';
$mosConfig_locale = 'en_GB';
$mosConfig_offset = '0';
$mosConfig_hideAuthor = '0';
$mosConfig_hideCreateDate = '0';
$mosConfig_hideModifyDate = '0';
$mosConfig_hidePdf = '0';
$mosConfig_hidePrint = '0';
$mosConfig_hideEmail = '0';
$mosConfig_enable_log_items = '0';
$mosConfig_enable_log_searches = '0';
$mosConfig_sef = '0';
$mosConfig_vote = '0';
$mosConfig_gzip = '0';
$mosConfig_multipage_toc = '0';
$mosConfig_allowUserRegistration = '1';
$mosConfig_link_titles = '0';
$mosConfig_error_reporting = -1;
$mosConfig_editor = 'htmlarea2';
setlocale (LC_TIME, $mosConfig_locale);
?>
titansking is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Old 17.04.2004, 17:34   #8 (permalink)
mmx
Expert Mamber
 
Join Date: Apr 2004
Location: Virginia Beach, Virginia USA
Posts: 309
mmx is on a distinguished road
Send a message via MSN to mmx
Default Re: Mysql Port Options

According the the PHP Manual, either of the two methods I suggested should work. See the following url:

http://us4.php.net/ini_set

Try to use the second method again with 3316 enclosed in quotations ( "3316" ).
mmx is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Old 17.04.2004, 17:40   #9 (permalink)
Baby Mamber
 
Join Date: Apr 2004
Posts: 9
titansking is on a distinguished road
Default Re: Mysql Port Options

can u tell me the exact syntax which i can just copy and paste in my .htaccess file.

Thanks for your patience
titansking is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Old 17.04.2004, 17:42   #10 (permalink)
Baby Mamber
 
Join Date: Apr 2004
Posts: 9
titansking is on a distinguished road
Default Re: Mysql Port Options

Currently my .htaccess is something like this

ErrorDocument 404 http://www.linux.biz/index.php?option=com_404
php_value mysql.default_port 3316
titansking is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
 

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Non MySQL CMS Kumagoro Community Smalltalk 28 13.06.2007 08:42
experts pls help: mysql strange behavior coke Development Discussions 5 19.04.2004 20:10
Converting MySQL tables from PHPKIT to MAMBO ? mrcina Mambo 4.5 'How Do I' Questions 2 09.04.2004 02:59


All times are GMT +2. The time now is 02:43.

Powered by vBulletin® Version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.1.0
A vBSkinworks Design
© Copyright 2004-2008 by Arthur Konze Webdesign.