How to connect to different MySQL port?

Author Message

Siniša Šehović

Tuesday 23 November 2004 6:30:19 am

Hi there.

I have this problem.
Have two ezpublish sites on single machine.
One MySql server is 4.0.21 and the other is 4.1.7. for testing!
Now I don't know how to setup that one ezpublish site database is on 4.0.21 and other on 4.1.7?!?
Databases are on differen ports.

Is it possible to configure that in [DatabaseSettings] of site.ini.append.php?

Please help!

Best regards,
Sinisa

---
If at first you don't succeed, look in the trash for the instructions.

Frederik Holljen

Tuesday 23 November 2004 7:10:14 am

Try using the Socket setting e.g:
Socket=999

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.

eZ debug

Timing: Jan 20 2025 09:00:33
Script start
Timing: Jan 20 2025 09:00:33
Module start 'layout'
Timing: Jan 20 2025 09:00:33
Module start 'content'
Timing: Jan 20 2025 09:00:34
Module end 'content'
Timing: Jan 20 2025 09:00:34
Script end

Main resources:

Total runtime0.9141 sec
Peak memory usage4,096.0000 KB
Database Queries54

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0053 589.2734152.6406
Module start 'layout' 0.00530.0029 741.914139.4766
Module start 'content' 0.00830.9045 781.3906529.6484
Module end 'content' 0.91270.0014 1,311.03918.1406
Script end 0.9141  1,319.1797 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00320.3503160.0002
Check MTime0.00140.1483160.0001
Mysql Total
Database connection0.00060.064310.0006
Mysqli_queries0.867094.8372540.0161
Looping result0.00060.0609520.0000
Template Total0.886797.020.4434
Template load0.00230.251120.0011
Template processing0.884496.746620.4422
Template load and register function0.00020.017010.0002
states
state_id_array0.00060.063910.0006
state_identifier_array0.00110.124920.0006
Override
Cache load0.00190.2066180.0001
Sytem overhead
Fetch class attribute can translate value0.00080.092120.0004
Fetch class attribute name0.00100.106140.0002
XML
Image XML parsing0.00270.299520.0014
class_abstraction
Instantiating content class attribute0.00000.000740.0000
General
dbfile0.00270.2915210.0001
String conversion0.00000.000740.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1node/view/full.tplfull/forum_topic.tplextension/sevenx/design/simple/override/templates/full/forum_topic.tplEdit templateOverride template
2content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
2content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
4content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
3content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 13
 Number of unique templates used: 6

Time used to render debug report: 0.0002 secs