Author Topic: database scripts not working  (Read 3163 times)

tjlebanc

  • Newbie
  • *
  • Posts: 1
database scripts not working
« on: August 01, 2007, 07:28:33 pm »
it seams like all other steps went ok but the database scripts arn't working.  i don't get any error messages but there is no schema and of course no data.

PHP error log
[02-Aug-2007 00:52:47] PHP Notice:  Use of undefined constant CUSTOM_SYSTEM - assumed 'CUSTOM_SYSTEM' in /var/www/html/CalemEAM/server/conf/calem.php on line 257
[02-Aug-2007 00:52:47] PHP Fatal error:  Uncaught exception 'PDOException' with message 'SQLSTATE[42000] [1044] Access denied for user 'calemeam'@'localhost' to database 'calemeam'' in /var/www/html/CalemEAM/server/include/core/database/CalemPdo.php:53
Stack trace:
#0 /var/www/html/CalemEAM/server/include/core/database/CalemPdo.php(53): PDO->__construct('mysql:host=loca...', 'calemeam', 'calemeam', Array)
#1 /var/www/html/CalemEAM/server/include/core/database/mysql/MysqlHandler.php(148): CalemPdo->__construct('mysql:host=loca...', 'calemeam', 'calemeam', Array)
#2 /var/www/html/CalemEAM/server/include/core/database/CalemDbo.php(75): MysqlHandler->getCalemConnection()
#3 /var/www/html/CalemEAM/server/include/core/database/CalemDbSetup.php(147): CalemDbo->__construct()
#4 /var/www/html/CalemEAM/server/setup/CalemCreateSchema.php(86): CalemDbSetup->validate()
#5 /var/www/html/CalemEAM/server/setup/CreateSchemaCmd.php(45): CalemCreateSchema->validate()
#6 {main}
  thrown in /var/www/html/CalemEAM/server/include/core/database/CalemPdo.php on line 53

calemadmin

  • Administrator
  • Calem Hero
  • *****
  • Posts: 300
    • http://www.calemeam.com
database scripts not working
« Reply #1 on: August 01, 2007, 09:48:31 pm »
Check out the configuration in calem.custom.php under CalemEAM/server/conf, where

$_CALEM_dist['db_admin_user'] = 'root';
$_CALEM_dist['db_admin_password'] = '';

Should be replaced with your database admin settings. Do you have correctly set for your database?
Calem Community Forum Admin