Zend Server CE : EZPublish db connection error

Author Message

H-Works Agency

Wednesday 22 September 2010 3:43:14 am

Here is a tip for people installing ezpublish on a mac os x server with zend server CE installed.

When you try to connect to you siteaccess you get a db connection error.

For my part i had to add :

Socket=/usr/local/zend/mysql/tmp/mysql.sock

In site.ini to make it work. I don't know why but mysql doesn't get the socket information for clients in my.cnf...if someone has a clue i'll be glad to hear it.

Cheers !

EZP is Great

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 18 2025 01:16:08
Script start
Timing: Jan 18 2025 01:16:08
Module start 'layout'
Timing: Jan 18 2025 01:16:08
Module start 'content'
Timing: Jan 18 2025 01:16:09
Module end 'content'
Timing: Jan 18 2025 01:16:09
Script end

Main resources:

Total runtime1.1684 sec
Peak memory usage4,096.0000 KB
Database Queries46

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0060 588.1641152.6563
Module start 'layout' 0.00600.0033 740.820339.5078
Module start 'content' 0.00921.1577 780.3281460.8516
Module end 'content' 1.16690.0014 1,241.17978.1094
Script end 1.1683  1,249.2891 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00320.2741160.0002
Check MTime0.00130.1100160.0001
Mysql Total
Database connection0.00100.082010.0010
Mysqli_queries1.124496.2349460.0244
Looping result0.00060.0485440.0000
Template Total1.128896.620.5644
Template load0.00230.194820.0011
Template processing1.126596.417820.5633
Template load and register function0.00010.008610.0001
states
state_id_array0.00090.077510.0009
state_identifier_array0.00230.198420.0012
Override
Cache load0.00180.1524100.0002
Sytem overhead
Fetch class attribute can translate value0.00060.049610.0006
Fetch class attribute name0.00080.070520.0004
XML
Image XML parsing0.00050.046310.0005
class_abstraction
Instantiating content class attribute0.00000.000320.0000
General
dbfile0.00270.2318170.0002
String conversion0.00000.000940.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
1content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
1content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
1content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 5
 Number of unique templates used: 5

Time used to render debug report: 0.0002 secs