MySQL - database initialization

Author Message

Øivind Gulbrandsen

Saturday 23 October 2004 11:04:03 am

I try to install ezPublish (via the setup wizard) in my web hotel (ServeTheWorld.net).

When it comes to the database initialzation I get the following message:
"The database would not accept the connection, please review your settings and try again."
My settings are:
type: MySQL
servername: localhost
username: hornet_admin
password: (4 letters)
socket: (blank)

My database name (which I am not asked for) is hornet_x (the prefix and the underscore is provided by the wob hotel, I have just added the x in the name).

What can be the problem / what should I do???

Łukasz Serwatka

Saturday 23 October 2004 12:46:55 pm

Hi,

If you pay for this hosting just ask your administrator to help you install eZ publish on server. Also you can write a simple PHP code to check db connection.

Luke

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

Marco Zinn

Saturday 23 October 2004 3:37:47 pm

Hi,
it's fine, that you cannot enter your db name here.
You just enter your MySQL user (in your example, this is hornet_admin). Donn't confuse this with your FTP or Shell user, it may be different.
After MySQL recognizes the user (with the password you entered), you will see all databases, that you can access (on the next page, i think).

What can be wrong?
- Usrr can be wrong (must be your MySQL user)
- PW can be wrong (must be the MySQL PW for this user)
- Servername can be wrong (if this is a shared hosting, then your MySQL server probably is NOT localhost). Do you have the name/IP-Adress of your MySQL server?

Marco
http://www.hyperroad-design.com

Øivind Gulbrandsen

Monday 25 October 2004 12:57:34 pm

It was servername that was wrong. Was not localhost - database on other server.

Thank you.

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 04:25:04
Script start
Timing: Jan 31 2025 04:25:04
Module start 'layout'
Timing: Jan 31 2025 04:25:04
Module start 'content'
Timing: Jan 31 2025 04:25:04
Module end 'content'
Timing: Jan 31 2025 04:25:04
Script end

Main resources:

Total runtime0.0140 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.0049 589.2656151.2109
Module start 'layout' 0.00490.0024 740.476636.6484
Module start 'content' 0.00730.0053 777.125094.1406
Module end 'content' 0.01270.0013 871.265633.9922
Script end 0.0140  905.2578 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.002417.4443140.0002
Check MTime0.00117.9269140.0001
Mysql Total
Database connection0.00064.538410.0006
Mysqli_queries0.002316.275730.0008
Looping result0.00000.107210.0000
Template Total0.00096.810.0009
Template load0.00075.023210.0007
Template processing0.00021.706210.0002
Override
Cache load0.00053.567110.0005
General
dbfile0.00031.811680.0000
String conversion0.00000.057840.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