General > Setup

errors at running CalemEAM/bin/database scripts

(1/1)

edhlarry:
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:
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

Navigation

[0] Message Index

Go to full version