Connection could not be established

Author Message

Thirunavukkrasu Arumugam

Monday 02 March 2009 5:27:52 am

I Presently kept my development on site.

I try to backup my site..

According to the instrcution i have transfered the ./settings, ./var, ./design folders to my localhost.

and also I have restore the db by using export and import in phpmyadmin panel.

I have installed the new development environment in local as well as another server..

But I try to run the site i am getting the following error.. Where I have to find and fix the connection string to establish the db connection.

kernel::50

* No database connection could be made, the system might not behave properly.

A. Thirunavukkarasu

Jean-Yves Zinsou

Monday 02 March 2009 1:06:17 pm

Hi there,
1- Make sure the webserver has access rights to your settings files
2- Check the database settings in you site access, try to put the database connexion settings in settings/override/site.ini.append.php
3- make sure the user defined in those settings can login to the database via phpmyadmin for example

Hope this helps!

Cheers

Do Androids Dream of Electric Sheep?
I dream of eZpubliSheep....
------------------------------------------------------------------------
http://www.alma.fr

Thirunavukkrasu Arumugam

Tuesday 03 March 2009 2:53:14 am

Hi.. Jean-Yves Zinsou

Thank you very much

As per your instruction i have placed the database settings in sir

site.ini.append.php file

[DatabaseSettings]
DatabasePluginPath=
# Use either ezmysql or ezpostgresql
DatabaseImplementation=ezmysql
Server=localhost
Port=
User=root
Password=
Database=chipkidz_epublish

It works well..

Thanking you
A. Thirunavukkarasu

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 16:07:03
Script start
Timing: Jan 18 2025 16:07:03
Module start 'layout'
Timing: Jan 18 2025 16:07:03
Module start 'content'
Timing: Jan 18 2025 16:07:04
Module end 'content'
Timing: Jan 18 2025 16:07:04
Script end

Main resources:

Total runtime1.1991 sec
Peak memory usage4,096.0000 KB
Database Queries57

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0065 589.3672152.6250
Module start 'layout' 0.00650.0038 741.992239.4453
Module start 'content' 0.01031.1872 781.4375540.9453
Module end 'content' 1.19750.0016 1,322.382812.1563
Script end 1.1990  1,334.5391 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00330.2737160.0002
Check MTime0.00140.1160160.0001
Mysql Total
Database connection0.00110.088710.0011
Mysqli_queries1.144695.4531570.0201
Looping result0.00060.0459550.0000
Template Total1.159396.720.5796
Template load0.00190.160820.0010
Template processing1.157396.516820.5787
Template load and register function0.00020.013010.0002
states
state_id_array0.00180.152410.0018
state_identifier_array0.00170.144420.0009
Override
Cache load0.00170.1392390.0000
Sytem overhead
Fetch class attribute can translate value0.00070.055920.0003
Fetch class attribute name0.00140.114750.0003
XML
Image XML parsing0.00270.223020.0013
class_abstraction
Instantiating content class attribute0.00000.000860.0000
General
dbfile0.00260.2155220.0001
String conversion0.00000.000840.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
3content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
3content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
5content/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: 16
 Number of unique templates used: 6

Time used to render debug report: 0.0001 secs