Cannot connect to database with wizard

Author Message

rick shepherd

Tuesday 28 September 2004 8:37:26 am

I don't understand this. I have created a database:

mysql> create database ezpublish2;

and users

mysql> grant all privileges on ezpublish.* to ezpublish@localhost identified by
'ezpublish';

then I go to the wizard and fill in:

Type MySQL
Servername: ezpublish (I presume?)
Username: ezpublish (I presume?)
Password: ezpublish (I presume?)
Socket (optional):

but still get the error message:

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

Please help!! I really wan to try this becuase it may well be the one we buy!!

Rick Shepherd

Lazaro Ferreira

Tuesday 28 September 2004 9:21:40 am

Hi,

if your database name is

ezpublish2

then your grant sql is wrong :

should be

mysql> grant all privileges on ezpublish2.* to ezpublish@localhost identified by
'ezpublish';

Lazaro
http://www.mzbusiness.com

Lazaro
http://www.mzbusiness.com

rick shepherd

Wednesday 29 September 2004 12:13:55 am

OK, now I have created a new database:

mysql> create database ezno;

and a new user

mysql> grant all privileges on ezno.* to 'ezno'@'localhost' identified by 'ezno';

I then fill in the values:

Servername: ezno
Username: ezno
Password: ezno
Socket (optional): (blank)

and I still get

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

Any ideas??

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

Main resources:

Total runtime1.0688 sec
Peak memory usage8,192.0000 KB
Database Queries57

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0048 588.2578151.2266
Module start 'layout' 0.00480.0042 739.4844220.7344
Module start 'content' 0.00901.0589 960.21884,305.7188
Module end 'content' 1.06790.0008 5,265.93757.8281
Script end 1.0687  5,273.7656 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00360.3366160.0002
Check MTime0.00130.1249160.0001
Mysql Total
Database connection0.00050.048410.0005
Mysqli_queries0.982591.9296570.0172
Looping result0.00050.0513550.0000
Template Total1.015295.020.5076
Template load0.00180.168920.0009
Template processing1.013494.821220.5067
Template load and register function0.00130.121910.0013
states
state_id_array0.00110.106110.0011
state_identifier_array0.00100.097520.0005
Override
Cache load0.00160.1475410.0000
Sytem overhead
Fetch class attribute can translate value0.00200.185120.0010
Fetch class attribute name0.00180.169230.0006
XML
Image XML parsing0.00020.021620.0001
class_abstraction
Instantiating content class attribute0.00000.000830.0000
General
dbfile0.00250.2295100.0002
String conversion0.00000.000740.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/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
9content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
5content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
1content/datatype/view/ezxmltags/literal.tpl<No override>extension/community/design/standard/templates/content/datatype/view/ezxmltags/literal.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 20
 Number of unique templates used: 6

Time used to render debug report: 0.0002 secs