How can I activate mysql when running apache2? When I access a php file in localhost an error says
Warning: mysql_connect() [function.mysql-connect]: Access denied for user 'www-data'@'localhost' (using password: NO) in /var/www/docs/poll/install2.php on line 18
Unable to select database
These databases and things are very confusing to me. It is installed but I just need it set up. I type mysqladmin and I get thousands of commands and I have no idea how to set it up. Please help me. I am just trying to get an online poll on the server.
Warning: mysql_connect() [function.mysql-connect]: Access denied for user 'www-data'@'localhost' (using password: NO) in /var/www/docs/poll/install2.php on line 18
Unable to select database
These databases and things are very confusing to me. It is installed but I just need it set up. I type mysqladmin and I get thousands of commands and I have no idea how to set it up. Please help me. I am just trying to get an online poll on the server.
Comment