Apache & MYSQ

Twaha Daudi tdmlwilo at yahoo.com
Fri Aug 17 15:11:00 UTC 2007


Hello Andrew,
Thanks for your support!.It is working
udd

Andrew Zajac <arzajac at gmail.com> wrote: On 8/17/07, Twaha Daudi  wrote:
> hello all,
> I am installing apache,php and mysql on ubuntu feist desktop.Done the
> following
>  1.installed apache and tested through  http://localhost/ and get the
> following result.It works!,
>   but when I tried to restart the apache through
>    sudo /etc/init.d/apache2   restart     getting the following errors
>
> apache2: Could not reliably determine the server's fully qualified domain
> name, using 127.0.1.1 for ServerName
> apache2: Could not reliably determine the server's fully qualified domain
> name, using 127.0.1.1 for ServerName
>
> I thing it should point to 127.0.0.1, I have checked on the  apache2.conf
> where I can change but didnt find it.
>
>  2.Then tried to install MySQL  and  tested,but when I try to connect to the
>  mysql through command line, I get  the  following error.
> error: 'Access denied for user 'root'@'localhost' (using password: YES)'
>
> I have tried to go and got this link from Ubuntu forum but didn't get clue.
> here it is
> http://ubuntuforums.org/showthread.php?t=441019&page=3
> Please I need your help.

It's all detailed here:
https://help.ubuntu.com/community/ApacheMySQLPHP

The apache error is benign - it's because  there is no servername
directive in the default site.

The mysql error is because there is no mysql root password set and you
are trying to connect using a password (-p)

az

-- 
ubuntu-users mailing list
ubuntu-users at lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users


       
---------------------------------
Be a better Globetrotter. Get better travel answers from someone who knows.
Yahoo! Answers - Check it out.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20070817/70c07841/attachment.html>


More information about the ubuntu-users mailing list