Can not get past step 5, database setup

ingo

Joined: 2005-01-27
Posts: 2
Posted: Wed, 2009-02-11 22:39

Hello all,

I am trying to install Gallery 2.3 using OSX 10.5.5 with MAMP:

Quote:
Apache 2.0.59
MySQL 5.0.41
PHP 4.4.8 & 5.2.6
APC 3.0.14
eAccelerator 0.9.5.3
XCache 1.2.0
phpMyAdmin 2.11.7.1
Zend Optimizer 3.3.3
SQLiteManager 1.2.0
Freetype 2.3.4
t1lib 5.1.1
curl 7.18.2
jpeg 6b
libpng-1.2.18
gd 2.0.34
libxml 2.6.32
libxslt 1.1.24
gettext 0.17
libidn 0.6.14
iconv 1.11
mcrypt 2.5.8
YAZ 3.0.6 & PHP/YAZ 1.0.12

When comming to step 5 I get the following error message:

Quote:
Database Setup
Please select your database type and enter your database authentication information. The installer will not create the database for you, so you must create one yourself and enter the database name here. If you are installing Gallery into a database that already has tables in it, the table and column prefixes will keep Gallery data from conflicting with what you already have.

Database type: MySQL (v 3.23.34a and newer)
DB Hostname: localhost
DB Username: root
DB Password: xxxxxxxxxxxx
DB Name: loqalhost.sql
Table Prefix: g2_
Column Prefix: g_

We received the following database related errors:

Warning: mysqli_real_connect() [function.mysqli-real-connect]: (28000/1045): Access denied for user 'root'@'localhost' (using password: YES) in /Applications/MAMP/htdocs/G2/lib/adodb/drivers/adodb-mysqli.inc.php on line 109
Could't connect :
localhost: Access denied for user 'root'@'localhost' (using password: YES)

I am trying to import a database exported from the following Gallery setup:

Quote:

Gallery version = 2.1.2 core 1.1.0.2
PHP version = 5.1.6 apache2handler
Webserver = Apache/2.0.59 (Unix) PHP/5.1.6 DAV/2
Database = mysql 5.0.19-log, lock.system=flock
Toolkits = ArchiveUpload, Exif, Getid3, Thumbnail, Gd
Acceleration = none, none
Operating system = Darwin Haukur.local 8.8.1 Darwin Kernel Version 8.8.1: Mon Sep 25 19:42:00 PDT 2006; root:xnu-792.13.8.obj~1/RELEASE_I386 i386
Default theme = matrix
Locale = is_IS
Browser = Mozilla/5.0 (Macintosh; U; Intel Mac OS X; en) AppleWebKit/418.9.1 (KHTML, like Gecko) Safari/419.3

I have pointed the Gallery 2.3 installer to the old g2data folder in step 4 but in step 5 I am dead in my tracks.

I have studied carefully this information here:

http://codex.gallery2.org/Gallery2:How_To_Restore_From_Backup

but I do not seem to be able to direct the database setup in step 5 to the existing database.

Can anyone help my out here?

Best regards,
Ingolfur Bruun
Iceland