"database would not accept the connection"

Author Message

David Gordon

Friday 03 September 2004 4:40:18 am

I've already tried and failed, I've also tried a manual install and failed - if anyone wants to answer that question on the forum ;)

So now I've deleted my ezpublish directory, uploaded a new ezpublish-3.4.1.tar.gz and unpacked that directly on the server - in case my FTP corrupted something last time.

Nope! I still can't run the setup. I fail when it trys to connect to my database. I can connect to the database through SSH. I know the username & password are correct!

I see some other people having the same issue as me but no replies as how to fix it...

Bård Farstad

Monday 06 September 2004 7:39:18 am

The setup should not need database connection to start. It will check this on the first page.

Do you get the first "Welcome" screen when you run index.php on your installation?
Where excactly do you get this error?

Please check that your webserver user can read all files from your eZ publish installation.

Which PHP and Apache version are you using?

--bård

Documentation: http://ez.no/doc

David Gordon

Monday 06 September 2004 8:57:57 am

Sorry I wasn't clear. The Setup does run. However when it gets to the step "Database initialization" it says that a connection to the database cannot be made.

Since I posted I have tried to do a fully manual install. This results in my browser not receiving any data from my eZp site.

mySQL 3.2.58
Apache 1.3.29
PHP 4.0.6

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 03:44:20
Script start
Timing: Jan 31 2025 03:44:20
Module start 'layout'
Timing: Jan 31 2025 03:44:20
Module start 'content'
Timing: Jan 31 2025 03:44:20
Module end 'content'
Timing: Jan 31 2025 03:44:20
Script end

Main resources:

Total runtime0.0250 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.0064 588.2891151.2266
Module start 'layout' 0.00640.0044 739.5156220.7188
Module start 'content' 0.01080.0126 960.2344997.8672
Module end 'content' 0.02340.0016 1,958.101633.9922
Script end 0.0250  1,992.0938 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.003012.0256140.0002
Check MTime0.00114.5577140.0001
Mysql Total
Database connection0.00083.375910.0008
Mysqli_queries0.00259.945830.0008
Looping result0.00000.055210.0000
Template Total0.00124.810.0012
Template load0.00093.494910.0009
Template processing0.00031.281810.0003
Override
Cache load0.00062.468410.0006
General
dbfile0.00031.369480.0000
String conversion0.00000.040040.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