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]