Die error krijg je bij phpMyAdmin?
Afdrukvoorbeeld
Die error krijg je bij phpMyAdmin?
Open eens /usr/local/directadmin/conf/directadmin.conf
en kijk eens wat er bij deze regel staat (mits ie uberhaupt (nog) bestaat);
mysqlconf=/usr/local/directadmin/conf/mysql.conf
Mail John (van DA) even, dit is een ander probleem dan van de repair guide, anders had er gestaan Using Password: YES.
Wat ik bedoel is dat er in het bestand
Ook een verwijzing staat als volgt:Citaat:
/usr/local/directadmin/conf/directadmin.conf
Het lijkt erop alsof ie dat bestand gewoon niet leest...Citaat:
mysqlconf=/usr/local/directadmin/conf/mysql.conf
Verder ook geen rare tekens als wachtwoord dan?
Die leest ie wel, anders zou ik dit niet krijgen als ik die conf bestand verwijder :
Ik heb gewoon een vrij normaal wachtwoord, met wat cijfers erbij.Code:Unable to read /usr/local/directadmin/conf/mysql.conf : Unable to open /usr/local/directadmin/conf/mysql.conf for reading.
Error connecting to MySQL: Access denied for user 'nobody'@'localhost' (using password: NO)
Repair guide: http://help.directadmin.com/item.php?id=45
Dan zou ik maar even doen wat Robin zei....
Je kunt ook:
doen als je het via die weg wil doen.Code:cd /usr/local/directadmin/custombuild
./rebuild all
Je kan het beste DirectAdmin even een mailtje sturen.
De user en permissies staan goed?
Code:chown -R diradmin:diradmin /usr/local/directadmin/conf && chmod 600 /usr/local/directadmin/conf
Rechten stonden al goed, het probleem was dat er een lege lijn moest komen op het einde van het bestand.
Dus 1 simpele Enter was het k*t probleem :)
Ik heb al een reply gekregen van Mark(DirectAdmin)
Code:Since it's showing:
(using password: NO)
that would imply that that password isn't being read in from the /usr/local/directadmin/conf/mysql.conf.
My guess would be that there is a missing newline character at the bottom of the mysql.conf file.
Basically, the solution is simply to add a blank line at the bottom of the mysql.conf file, ie: go to the bottom of the file, then press enter.
All directadmin configs require a newline character at the end of each line.
Thank you,