The database would not accept the connection...

Author Message

Fraser Hore

Sunday 30 October 2005 1:41:56 am

Could someone please advise on how to resolve this problem. I've done uploaded ezPublish 3.6.3 twice and still cannot connect to my database.

Here are the details:
Linux server
MySQL database (empty)
Design, Settings and var folders, subfolders and files all CHMOD 777

I had an earlier version of ezPublish working fine on the same server, same directory and same database (just decided to do a clean install).

The user name and password I'm using allow me to open the database using phpMyAdmin.

Any suggestions would be much appreciated!

Cheers,

Fraser

Fraser Hore

Sunday 30 October 2005 1:12:24 am

I also tried changing the defaut database name in an override setup.ini.append.php which i placed in the settings/override folder.

Still isn't working.

Fraser Hore

Sunday 30 October 2005 1:26:50 am

OK, solved my own problem. phpMyAdmin said that my database was running on Localhost so I assumed that this was the correct host. I guess phpMyAdmin is running on Localhost!!!

So, put the address of the mySQL server in for host and it worked.

Arrggh it's always the simple dumb mistakes that cause hours of frustration!

Cheers

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 19:22:36
Script start
Timing: Jan 18 2025 19:22:36
Module start 'layout'
Timing: Jan 18 2025 19:22:36
Module start 'content'
Timing: Jan 18 2025 19:22:37
Module end 'content'
Timing: Jan 18 2025 19:22:37
Script end

Main resources:

Total runtime0.7090 sec
Peak memory usage4,096.0000 KB
Database Queries55

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0099 588.1641152.6563
Module start 'layout' 0.00990.0032 740.820339.5078
Module start 'content' 0.01310.6942 780.3281468.4141
Module end 'content' 0.70720.0017 1,248.742212.1094
Script end 0.7089  1,260.8516 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00400.5636160.0002
Check MTime0.00160.2305160.0001
Mysql Total
Database connection0.00200.285610.0020
Mysqli_queries0.652291.9870550.0119
Looping result0.00090.1202530.0000
Template Total0.666294.020.3331
Template load0.00240.344720.0012
Template processing0.663893.625220.3319
Template load and register function0.00010.014810.0001
states
state_id_array0.00220.305110.0022
state_identifier_array0.00140.199120.0007
Override
Cache load0.00210.2950240.0001
Sytem overhead
Fetch class attribute can translate value0.00080.116610.0008
Fetch class attribute name0.00120.167340.0003
XML
Image XML parsing0.00050.075510.0005
class_abstraction
Instantiating content class attribute0.00000.002460.0000
General
dbfile0.00090.1322160.0001
String conversion0.00000.001240.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
4content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
1content/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.0001 secs