Author Topic: db setup error  (Read 4879 times)

my66

  • Newbie
  • *
  • Posts: 5
db setup error
« on: June 14, 2007, 10:22:08 am »
Hello,

Where can I pass the password for mysql db? I got access denied error when running calemeam db setup script on unix:

[root@server4 database]# pwd
/opt/lampp/htdocs/CalemEAM/bin/database
[root@server4 database]# ./createSchema.sh

Fatal error: Uncaught exception 'PDOException' with message 'SQLSTATE[28000] [1045] Access denied for user 'root'@'localhost' (using password: NO)' in /opt/lampp/htdocs/CalemEAM/server/include/core/database/CalemPdo.php:53
Stack trace:
#0 /opt/lampp/htdocs/CalemEAM/server/include/core/database/CalemPdo.php(53): PDO->__construct('mysql:host=loca...', 'root', '', NULL)
#1 /opt/lampp/htdocs/CalemEAM/server/include/core/database/mysql/MysqlHandler.php(180): CalemPdo->__construct('mysql:host=loca...', 'root', '')
#2 /opt/lampp/htdocs/CalemEAM/server/setup/CalemCreateSchema.php(52): MysqlHandler->getDatabaseAdminConnection()
#3 /opt/lampp/htdocs/CalemEAM/server/setup/CreateSchemaCmd.php(44): CalemCreateSchema->setupDatabase()
#4 {main}
  thrown in /opt/lampp/htdocs/CalemEAM/server/include/core/database/CalemPdo.php on line 53
[root@server4 database]#[/quote]

calemadmin

  • Administrator
  • Calem Hero
  • *****
  • Posts: 300
    • http://www.calemeam.com
db setup error
« Reply #1 on: June 15, 2007, 01:05:06 am »
Take a look at Configure CalemEAM at
http://www.calemeam.com/support_setup.html

In calem.custom.php, replace the following with your db config:

//Admin user name and password to create Calem DB
$_CALEM_dist['db_admin_user'] = 'root';
$_CALEM_dist['db_admin_password'] = '';
Calem Community Forum Admin