1

Topic: SQL error

I just tried to run install.php and this is what it gives me. Anyone know how to fix this? Thanks in advance

Checking for convert (/usr/bin/convert) ... OK

Checking for identify (/usr/bin/identify) ... OK

Checking permissions on /var/www/apache2-default/ochiba/img ... OK

Checking permissions on /var/www/apache2-default/ochiba/thumbs ... OK

Checking permissions on /tmp/ochiba-cache ...OK

Checking for HTML_Template_IT ...OK

Checking for PEAR::DB ...OK

Checking for database definition ... OK

Checking for database connection ... FAILED - please check connection settings (mysql://nigel:test@localhost/file)

2

Re: SQL error

Nothing obviously jumps out except is your database really named "file"?

In the install.php file, at line 83 you should see:

    echo "FAILED - please check connection settings (" . DB . ")\n";

After that line, add the following, to get a more informative error message:

    echo "    ERROR WAS: " . $db->getDebugInfo() . "\n\n";

Let me know what it says.