Forums / Install & configuration / New installation (database initialization)

New installation (database initialization)

Author Message

eric 2006

Monday 09 January 2006 2:27:21 pm

I got the following error when I entered:
Servername:
Username:
Password:

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

I install on lunix/ and using MySQL database.

Please advice if you have any better way of new installation or know what's going on here. I know that my servername, username, password and database's information are correct. The only question I have is that this script was not promted for databasename at this stage.

Please help.

eric

Gurudutt Verma

Tuesday 10 January 2006 12:23:53 am

Hi

See here, if it helps

http://ez.no/community/forum/install_configuration/error_with_mysql_db_connection

eric 2006

Wednesday 11 January 2006 11:37:29 am

Where is the socket file?

eric 2006

Wednesday 11 January 2006 12:59:20 pm

I was looking at link you gave me and the link to that, there are no help. I am trying to get this to work and like to purchase the commercial license of EZ Publish.

I am using bluehost.com

Hans Melis

Wednesday 11 January 2006 2:16:17 pm

Eric,

The problem is probably that you (or the host you're using) are using MySQL 4.1.x or newer without compiling the related MySQL library for PHP. In short, this means PHP can't connect to MySQL 4.1 and up because those versions use a new authentication protocol.

If you are in control of the database server, please have a look at my first reply (2nd post) in this thread:
http://ez.no/community/forum/install_configuration/kernel_50_on_solaris_mysql_4_1_7_ez_3_4_3

Hans
http://blog.hansmelis.be

eric 2006

Wednesday 11 January 2006 3:06:54 pm

yes, it's running on:

PHP version 4.4.1
MySQL version 4.1.13-standard-log

server.

I will try the link you provided to see if this will work.

Thanks

Eric

eric 2006

Wednesday 11 January 2006 3:17:32 pm

I tried to run:

USE mysql; UPDATE user SET Password = PASSWORD('<your password>') WHERE User = '<your username>';

and access denied. I guess, there is no other way huh? I like ez publish but I guess I have to find other script. How come ez publish does not promt for database name when install.

Thanks anyway.

eric

Hans Melis

Wednesday 11 January 2006 10:45:55 pm

If you don't have access to the <i>mysql</i> database, there's little to nothing you can do I think. You can try to ask those who manage the database to enable old passwords.

eZ publish will prompt for the database name, but that will happen later on. The stage you're at only serves to get access to the MySQL DB server.

Hans
http://blog.hansmelis.be

Gurudutt Verma

Wednesday 11 January 2006 11:54:57 pm

Hi!

Ofcource you need proper access to do necessary changes to contact to admin.

For mysql try this
USE mysql;
SET PASSWORD FOR DBName@gv.ez.no = OLD_PASSWORD('Your Password');

eZ debug

Timing: Jan 18 2025 11:22:37
Script start
Timing: Jan 18 2025 11:22:37
Module start 'content'
Timing: Jan 18 2025 11:22:38
Module end 'content'
Timing: Jan 18 2025 11:22:38
Script end

Main resources:

Total runtime1.0339 sec
Peak memory usage4,096.0000 KB
Database Queries214

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0056 587.8672180.8047
Module start 'content' 0.00560.8771 768.6719644.0703
Module end 'content' 0.88260.1512 1,412.7422340.4219
Script end 1.0338  1,753.1641 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00410.3945210.0002
Check MTime0.00150.1446210.0001
Mysql Total
Database connection0.00060.062310.0006
Mysqli_queries0.947491.63482140.0044
Looping result0.00260.25312120.0000
Template Total1.006397.320.5031
Template load0.00200.194420.0010
Template processing1.004397.132820.5021
Template load and register function0.00020.022610.0002
states
state_id_array0.00060.061710.0006
state_identifier_array0.00140.134420.0007
Override
Cache load0.00180.1738530.0000
Sytem overhead
Fetch class attribute can translate value0.00160.150340.0004
Fetch class attribute name0.00210.2045110.0002
XML
Image XML parsing0.00140.137940.0004
class_abstraction
Instantiating content class attribute0.00000.0028130.0000
General
dbfile0.00280.2667320.0001
String conversion0.00000.000430.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
9content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
4content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
12content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
4content/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: 31
 Number of unique templates used: 6

Time used to render debug report: 0.0002 secs