General > Setup

db setup error

(1/1)

my66:
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:
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'] = '';

Navigation

[0] Message Index

Go to full version