Database Connection Error?

Author Message

francesca feeney

Saturday 30 September 2006 9:05:54 am

I am trying to setup ezpublish on localhost. when i get to the database initialisation stage i get an error:

"The database would not accept the connection, please review your settings and try again."

I am using PHP 4.4.4, MySQL 5.0, Apache 1.3.34

The logins for the database are correct but i don't understand and can't figure out why i can't connect...?

J-A Eberhard

Saturday 30 September 2006 11:45:26 am

Are you sure your database is running?

Open Source Solution Provider
Open-Net Ltd Switzerland
http://www.open-net.ch

Juliusz Calyniuk

Sunday 01 October 2006 4:39:58 am

Have you checked your settings?
Database configuration can be set in files site.ini* (site.ini.append.php for instance):

/settings/siteaccess/*/site.ini*
/settings/override/site.ini*

Config block [DatabaseSettings]

WebStyle Systems | http://www.ws-webstyle.com

Kristof Coomans

Sunday 01 October 2006 11:40:24 am

Are you using a kickstart.ini file?

independent eZ Publish developer and service provider | http://blog.coomanskristof.be | http://ezpedia.org

Ɓukasz Serwatka

Monday 02 October 2006 12:17:23 am

I would recommend to enable debug output during installation process. It gives more detailed information what is wrong.

You can do it in settings/override/site.ini.append.php (If file does not exists, create it.)

[DebugSettings]
DebugOutput=enabled

Personal website -> http://serwatka.net
Blog (about eZ Publish) -> http://serwatka.net/blog

kuanpo huang

Wednesday 29 August 2007 5:35:15 am

hi francesca:

try to reset root password to ""

and press next button

i like music and web site development
sleeping besides above haha
working on thesis of compiler optimization

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

Main resources:

Total runtime0.0218 sec
Peak memory usage4,096.0000 KB
Database Queries3

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0053 588.2344151.2109
Module start 'layout' 0.00530.0031 739.4453220.6875
Module start 'content' 0.00840.0119 960.13281,001.9453
Module end 'content' 0.02030.0015 1,962.078137.9922
Script end 0.0217  2,000.0703 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.002511.5174140.0002
Check MTime0.00114.8850140.0001
Mysql Total
Database connection0.00115.083210.0011
Mysqli_queries0.00188.270230.0006
Looping result0.00000.050410.0000
Template Total0.00094.310.0009
Template load0.00073.158510.0007
Template processing0.00021.088210.0002
Override
Cache load0.00052.075810.0005
General
dbfile0.00031.163880.0000
String conversion0.00000.036140.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 1
 Number of unique templates used: 1

Time used to render debug report: 0.0001 secs