Forums / Developer / how to connect msaccess database

how to connect msaccess database

Author Message

Srinivas Rao

Wednesday 02 July 2003 1:46:01 am

Hi all,

Up to now we are using only mysql and postgresql databases in ezpublish. Is there any way to connect ms-access database using ezpublish.Currently I am using ezpublish3. Any one plz help me regarding this.

Thanx in advance.

Warm Regards,
srinivas

Paul Borgermans

Wednesday 02 July 2003 2:48:29 am

imho, msaccess is not fit for driving an entire content management system. MsAccess is an personal-or-single-user dbms, too often abused for applications where a real RDBMS should be used.

On the otehr hand, you could try to write a driver in ezpublish for msaccess.

--paul

eZ Publish, eZ Find, Solr expert consulting and training
http://twitter.com/paulborgermans

Srinivas Rao

Wednesday 02 July 2003 6:38:55 am

Dear Paul Borgermans,

Thanx for the input.. I completely feel the same way about MS-Access. Whil our real objective is to use SQL Server 7.0 / 2000 as the RDBMS, we wanted to try out ezPublish's capability and scalability on working with MS products. Hence we are testing the same using MS-Access. The Ultimate objective is to try and use MS-SQL Server 7.0 / 2000 as the RDBMS, Can U throw some insight as to how i can achieve the same..?? either on MS-Access or on MS-SQL Server..??

Your suggestions and help are valued..

Thanx in advance.

--Srinivas.

Frode Marton Meling

Tuesday 08 July 2003 7:21:09 am

If I have understood the eZ kernel correct, one sollution is to write a eZodbcDB class as an extension. You have to write it the same way as eZMySQLDB is written.

You probably also need to do some changes to eZDb to be able to support it (this I'm not sure, it depends on how good the code is).

I'm not sure thow if the odbc support in PHP is sufficient to run eZ over odbc.

I'm solving a similar problem now, but I'm going to use the MySQL database for all eZmodules, but I'll make modules to access data from i.e MS SQL.

Frode Marton Meling

eZ debug

Timing: Jan 18 2025 11:46:35
Script start
Timing: Jan 18 2025 11:46:35
Module start 'content'
Timing: Jan 18 2025 11:46:36
Module end 'content'
Timing: Jan 18 2025 11:46:36
Script end

Main resources:

Total runtime1.2352 sec
Peak memory usage4,096.0000 KB
Database Queries199

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0076 588.8516180.8281
Module start 'content' 0.00761.0989 769.6797580.7422
Module end 'content' 1.10660.1285 1,350.4219333.3672
Script end 1.2351  1,683.7891 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00410.3299210.0002
Check MTime0.00150.1248210.0001
Mysql Total
Database connection0.00070.058610.0007
Mysqli_queries1.163094.15331990.0058
Looping result0.00220.17721970.0000
Template Total1.165694.420.5828
Template load0.00210.171320.0011
Template processing1.163594.193520.5817
Template load and register function0.00030.026110.0003
states
state_id_array0.00090.074010.0009
state_identifier_array0.00110.092520.0006
Override
Cache load0.00170.1404250.0001
Sytem overhead
Fetch class attribute can translate value0.00140.109940.0003
Fetch class attribute name0.00190.149950.0004
XML
Image XML parsing0.00110.085640.0003
class_abstraction
Instantiating content class attribute0.00000.001350.0000
General
dbfile0.00180.1419280.0001
String conversion0.00000.000530.0000
Note: percentages do not add up to 100% because some accumulators overlap

CSS/JS files loaded with "ezjscPacker" during request:

CacheTypePacklevelSourceFiles
CSS0extension/community/design/community/stylesheets/ext/jquery.autocomplete.css
extension/community_design/design/suncana/stylesheets/scrollbars.css
extension/community_design/design/suncana/stylesheets/tabs.css
extension/community_design/design/suncana/stylesheets/roadmap.css
extension/community_design/design/suncana/stylesheets/content.css
extension/community_design/design/suncana/stylesheets/star-rating.css
extension/community_design/design/suncana/stylesheets/syntax_and_custom_tags.css
extension/community_design/design/suncana/stylesheets/buttons.css
extension/community_design/design/suncana/stylesheets/tweetbox.css
extension/community_design/design/suncana/stylesheets/jquery.fancybox-1.3.4.css
extension/bcsmoothgallery/design/standard/stylesheets/magnific-popup.css
extension/sevenx/design/simple/stylesheets/star_rating.css
extension/sevenx/design/simple/stylesheets/libs/fontawesome/css/all.min.css
extension/sevenx/design/simple/stylesheets/main.v02.css
extension/sevenx/design/simple/stylesheets/main.v02.res.css
JS0extension/ezjscore/design/standard/lib/yui/3.17.2/build/yui/yui-min.js
extension/ezjscore/design/standard/javascript/jquery-3.7.0.min.js
extension/community_design/design/suncana/javascript/jquery.ui.core.min.js
extension/community_design/design/suncana/javascript/jquery.ui.widget.min.js
extension/community_design/design/suncana/javascript/jquery.easing.1.3.js
extension/community_design/design/suncana/javascript/jquery.ui.tabs.js
extension/community_design/design/suncana/javascript/jquery.hoverIntent.min.js
extension/community_design/design/suncana/javascript/jquery.popmenu.js
extension/community_design/design/suncana/javascript/jScrollPane.js
extension/community_design/design/suncana/javascript/jquery.mousewheel.js
extension/community_design/design/suncana/javascript/jquery.cycle.all.js
extension/sevenx/design/simple/javascript/jquery.scrollTo.js
extension/community_design/design/suncana/javascript/jquery.cookie.js
extension/community_design/design/suncana/javascript/ezstarrating_jquery.js
extension/community_design/design/suncana/javascript/jquery.initboxes.js
extension/community_design/design/suncana/javascript/app.js
extension/community_design/design/suncana/javascript/twitterwidget.js
extension/community_design/design/suncana/javascript/community.js
extension/community_design/design/suncana/javascript/roadmap.js
extension/community_design/design/suncana/javascript/ez.js
extension/community_design/design/suncana/javascript/ezshareevents.js
extension/sevenx/design/simple/javascript/main.js

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
4content/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
1content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
1content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
1pagelayout.tpl<No override>extension/sevenx/design/simple/templates/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