Author Topic: errors at running CalemEAM/bin/database scripts  (Read 5131 times)

edhlarry

  • Guest
errors at running CalemEAM/bin/database scripts
« on: May 22, 2007, 12:35:52 am »
Running Windows 2000 Pro with latest updates.  Loaded WAMP5 as instructed.  Step 5 in the CalemEAM Setup Guide says to run 3 scripts.  When running createSchema.bat I get the following:

=========================================
C:\wamp\www\CalemEAM\bin\database>echo off
Create DB schema

Fatal error: Uncaught exception 'PDOException' with message 'could not find driv
er' in C:\wamp\www\CalemEAM\server\include\core\database\CalemPdo.php:53
Stack trace:
#0 C:\wamp\www\CalemEAM\server\include\core\database\CalemPdo.php(53): PDO->__co
nstruct('mysql:host=', NULL, NULL, NULL)
#1 C:\wamp\www\CalemEAM\server\include\core\database\mysql\MysqlHandler.php(180)
: CalemPdo->__construct('mysql:host=', NULL, NULL)
#2 C:\wamp\www\CalemEAM\server\setup\CalemCreateSchema.php(52): MysqlHandler->ge
tDatabaseAdminConnection()
#3 C:\wamp\www\CalemEAM\server\setup\CreateSchemaCmd.php(44): CalemCreateSchema-
>setupDatabase()
#4 {main}
  thrown in C:\wamp\www\CalemEAM\server\include\core\database\CalemPdo.php on li
ne 53
=================================

Please interpret this!

Larry C.

calemadmin

  • Administrator
  • Calem Hero
  • *****
  • Posts: 300
    • http://www.calemeam.com
errors at running CalemEAM/bin/database scripts
« Reply #1 on: May 22, 2007, 07:46:33 am »
For WAMP take a look at your php.ini  in php dir (\wamp\php\php.ini) and apache dir (\wamp\Apache2\bin\php.ini).
Make sure MySQL for PDO is enabled:

extension=php_pdo.dll
extension=php_pdo_mysql.dll
Calem Community Forum Admin