First I got this message:
Warning: [mysql error 145] Table './fliepeldepienl_1/piwi_sessions' is marked as crashed and should be repaired
SELECT data
FROM piwi_sessions
WHERE id = '4D7Bbbkitkljg64s4dhpc3p7gnaug1'
; in /var/www/vhosts/fliepeldepiep.nl/httpdocs/include/dblayer/functions_mysqli.inc.php on line 813
So I went to mysql thing and repaired and optimized the tables... but now it completely has crashed..
Warning: mysqli::mysqli() [function.mysqli-mysqli]: (28000/1045): Access denied for user 'fliepeldepienl_1'@'localhost' (using password: YES) in /var/www/vhosts/fliepeldepiep.nl/httpdocs/include/dblayer/functions_mysqli.inc.php on line 40
Warning: my_error() [function.my-error]: Couldn't fetch mysqli in /var/www/vhosts/fliepeldepiep.nl/httpdocs/include/dblayer/functions_mysqli.inc.php on line 805
Warning: my_error() [function.my-error]: Couldn't fetch mysqli in /var/www/vhosts/fliepeldepiep.nl/httpdocs/include/dblayer/functions_mysqli.inc.php on line 805
Piwigo encountered a non recoverable error
[mysql error ]
Can't connect to server
#1 my_error /var/www/vhosts/fliepeldepiep.nl/httpdocs/include/common.inc.php(119)
#2 include_once /var/www/vhosts/fliepeldepiep.nl/httpdocs/index.php(26)
any idea how to fix this?
Offline
Hi
luckiec2 wrote:
Access denied for user 'fliepeldepienl_1'@'localhost' (using password: YES)
an error message already discussed there many times! The password of the mysql user doesn't match or more probably, the user hasn't enough privileges on the database
Offline
so how do you fix it? or delete everything and start over?
Offline
I guess this is a dead program, to bad...
Offline
well it's because we can't really say more than flop25 already said
The error says that the user you configured in local/config/database.inc.php can't access the database
you must find by yourself why or ask your host
Offline
What does it mean? I do not understand. I think it has something to do with the rights piwigo has to make changes...
Offline
hi again
first rule of the forum: search
like http://dev.mysql.com/doc/refman/5.0/en/ … enied.html
Offline
There seems to be a problem when using PHP5.5 and Piwigo with MySQLi
Warning: mysqli::mysqli(): (HY000/2002): No such file or directory in /var/www/vhosts/<snip>/public/piwigo/include/dblayer/functions_mysqli.inc.php on line 61
Warning: my_error(): Couldn't fetch mysqli in /var/www/vhosts/<snip>/public/piwigo/include/dblayer/functions_mysqli.inc.php on line 826
Warning: my_error(): Couldn't fetch mysqli in /var/www/vhosts/<snip>/public/piwigo/include/dblayer/functions_mysqli.inc.php on line 826
Piwigo encountered a non recoverable error
[mysql error ]
Can't connect to server
#1 my_error /var/www/vhosts/<snip>/public/piwigo/include/common.inc.php(119)
#2 include_once /var/www/vhosts/<snip>/public/piwigo/index.php(26)
And believe me: my login credentials are OK.
Switching over to PHP 5.4.18 or 5.3.27 has no problems.
(I am using Plesk with multiple PHP versions installed)
I had an issue and that was not the credential or the mysql permission, just an mysql bug : I had to delete/set the mysql user and its permissions on tables. (can't remember if it was on local or on the server...)
and honestly Piwigo just use the mysql fonctions... or a missing parameter for the connexion?
Offline
in fact a server side issue : http://stackoverflow.com/questions/1376 … rough-sock
Offline
In fact I just fixed the problem.
PHP5.5 now uses mysqlND by default:
Client API library version: mysqlnd 5.0.11-dev - 20120503 - $Id: 40933630edef551dfaca71298a83fad8d03d62d4 $
So I recompiled PHP 5.5 with following configure options:
'--with-mysql=/usr' '--with-mysqli=/usr/bin/mysql_config' '--with-pdo-mysql=shared'
and now it says:
Client API library version 5.5.33
My Piwigo install works like a charm again.
well, you've said so many times that you have to ask you host, but the host does not know why your install deos not work. so maybe you could look into another answer instead of blowing people off. i am looking for another app. can't install this one. what a lousy board.
jim1562 wrote:
well, you've said so many times that you have to ask you host, but the host does not know why your install deos not work. so maybe you could look into another answer instead of blowing people off. i am looking for another app. can't install this one. what a lousy board.
lol
you don't know even know what you're talking about and you come here to judge... -_-*
Offline
Somehow I put a password on the tables, and I didnt know how it happened.. Finaly someone from the hosting removed it and now it works.. Otherwise I had to look up all the geographic coordinates again...