1
Kloxo-MR Technical Helps / Could not open database connection anyway
« on: 2013-01-26, 16:51:23 »
hello
i dont know why and since when this problem made
when i enter myipaddress:7778 (even before login) i see a message that :
Could not open database connection.
(but style of kloxo completely loaded)
I think my problem relate to root password of mysql.
i do all of this works and when i run "sh /script/restart" at the end i see :
can anyone help me :cry:
i dont know why and since when this problem made
when i enter myipaddress:7778 (even before login) i see a message that :
Could not open database connection.
(but style of kloxo completely loaded)
I think my problem relate to root password of mysql.
Quote
mustafaramadan said
Run PHPMyAdmin and then click 'Priviliges'. Click action at 'koloxo' user. Click 'check all' at 'Global privileges' and type new password at 'Password'.
Or (from ssh):Code: [Select]mysql -u root -p
mysql> grant all on koloxo.* to koloxo@localhost identified by '{new password}';
mysql> flush privileges;
mysql> quit
End then (from ssh):Code: [Select]vi /usr/local/lxlabs/koloxo/etc/conf/koloxo.pass
Note: change {new password} with your new password.
replace with mysql password
sh /script/restart
i do all of this works and when i run "sh /script/restart" at the end i see :
Code: [Select]
[root@unix ~]# sh /script/restart
Stopping koloxo: Waiting for the process to die.....
Stopped koloxo
Starting koloxo: 11
Could not open database connection.mysqld (pid 22496) is running...
Started koloxo
[/b]can anyone help me :cry: