Koozali.org: home of the SME Server

MySQL Question

Chris Woods

MySQL Question
« on: November 15, 2002, 08:10:45 PM »
I have just install TWIG on my SME 5.5 and when I login I get this error:

Error: Access denied for user: 'www@localhost' (Using password: NO)


Does anybody know how to fix this? I've done some looking around and apparently it is related to my database.


Any help would be appreciated.



Chris

Bob Todd

Re: MySQL Question
« Reply #1 on: November 15, 2002, 08:38:45 PM »
did you assing access rights to a user for your mysql database? Commands to do this are normally

mysql
grant all on .* to @localhost indentified by "";
quit

Having done that then most systems, I'm not familiar with Twik, will have a config file in their php files that you enter the , , localhost and from above.

The other thing to check is that the www user has access rights to all the folders necessary to run Twik. Again these usually go something like

chown www:www
chmod 775

Bob