Ubuntu 11.10 32-bit - KMC Content - Internal Server Error

1 reply [Last post]
Joined: 12/27/2011
Points: 6

Just a heads up. I do not know why www-data is being used as the mysql user.

2012-02-21 16:57:18 [172.17.15.43] [1796459321] [API] [KalturaFrontController->getExceptionObject] CRIT: exception 'PDOException' with message 'SQLSTATE[28000] [1045] Access denied for user 'www-data'@'localhost' (using password: NO)' in /opt/kaltura/app/infra/db/KalturaPDO.php:10

I logged into mysql using the user I created prior to the install and added the user in question. This cleared the internal server error.

mysql> CREATE USER 'www-data'@'localhost' IDENTIFIED BY '';
Query OK, 0 rows affected (0.00 sec)

mysql> GRANT ALL PRIVILEGES ON *.* TO 'www-data'@'localhost'
-> WITH GRANT OPTION;
Query OK, 0 rows affected (0.00 sec)

Not the best solution are there others?

Joined: 09/07/2011
Points: 21

try this
mysql -uroot -p
grant all on kaltura.* to 'www-data'@'localhost';