This error relates to your metadot.conf not matching up with your database configuration
# perl index.pl
DBI connect('metadotdb','metadot',...) failed: Access denied for user 'metadot'@'localhost' (using password: YES) at DBAccess/MySQL.pm line 87
<h2>Unable to connect to SQL Server</h2>
db_name: dbi:mysql:metadotdb<br />db_user: metadot<br />db_password: (not displayed)
Can't call method "tables" on an undefined value at DBAccess/DBIObj.pm line 94.
Compilation failed in require at Portal.pm line 36.
BEGIN failed--compilation aborted at Portal.pm line 36.
Compilation failed in require at index.pl line 39.
BEGIN failed--compilation aborted at index.pl line 39.
speedy_backend[5221]: perl_parse error
speedy[5219]: Cannot spawn backend process
I would recommend using phpmyadmin drop the user
metadot from the
Privileges and also dropping the
metadotdb from the
databaseand redo the database configuration and make sure that the metadot.conf file matches the database setup as shown below, the above error message relates metadot.conf not matching
The database Configurationmysql -uroot mysql < createdbanduser4x.sql
mysql -e "grant all privileges on
metadotdb.* to
metadot@localhost identified by '
yourpassword'"
mysql -e "flush privileges"
mysql -u
metadot -p
yourpassword metadotdb < sampledata.sql
Modify Metadot configuration filedo these lines match how you created your database
/opt/metadot/etc
metadot.conf
Line:14 name = dbi:mysql:
metadotdbLine:15 user =
metadotLine:16 pass =
yourpasswordLine:17 dbtype = MySQL
Line:18 featureset = open
also try checking out if CGI Speedy got installed
rpm -qa | grep perl-CGI-SpeedyCGI
if so, this should show up below
perl-CGI-SpeedyCGI-2.22-1.2.el4.rf
Russell