missing database handlers

Author Message

Ron Schöningh

Wednesday 29 March 2006 7:09:24 am

When trying to install eZ publish on a system with the following configuration:

Linux: Umbuntu 5.10
Apache 2.0.54
PHP 4.4.0-3
MySQL

we got the following error message:

1. Missing database handler

No supported database handlers were found. eZ publish requires a database to store it's data, without one the system will fail.

To obtain database support you need to recompile PHP, the exact recompile options are specified below.

Installation

By using the --with-mysql configuration option you enable PHP to access MySQL databases. If you use this option without specifying the path to MySQL, PHP will use the built-in MySQL client libraries.

MySQL is properly configured but log files do not indicate any conection with eZ publish.

How can this be solved?

Myxt Web Solutions
http://www.myxt.nl

Łukasz Serwatka

Thursday 30 March 2006 2:50:56 am

You will need to recompile PHP with option --with-mysql=[path] like mention in the error. With specified correct path to mysql e.g --with-mysql=/usr/local/mysql PHP will set correct headers with MySQL version. Check phpinfo for more info.

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

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

Main resources:

Total runtime0.0313 sec
Peak memory usage2,048.0000 KB
Database Queries3

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0086 590.3750152.6250
Module start 'layout' 0.00870.0035 743.000039.4453
Module start 'content' 0.01220.0168 782.445389.3516
Module end 'content' 0.02900.0023 871.796930.3047
Script end 0.0313  902.1016 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00299.1908140.0002
Check MTime0.00123.8089140.0001
Mysql Total
Database connection0.00257.932310.0025
Mysqli_queries0.003310.687630.0011
Looping result0.00000.060110.0000
Template Total0.00165.110.0016
Template load0.00092.819210.0009
Template processing0.00072.273310.0007
Override
Cache load0.00061.874410.0006
General
dbfile0.004413.909580.0005
String conversion0.00000.036540.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