MySQL connecting troubles<

liunx

Guest
Hi,

OK, firstly, why does my PHP sites only show when I type in <!-- m --><a class="postlink" href="http://localhost:8080/">http://localhost:8080/</a><!-- m --> and not when I use <!-- m --><a class="postlink" href="http://localhost/">http://localhost/</a><!-- m --> ? Is there somewhere I can configure it to run without having to add the port number too?

Secondly, I can only connect to MySQL databases when my username is root and my password blank. When I enter the password I entered when I ran MySQL the first time, it denies the connection to the database.in apache's httpd.conf file you search for 8080 and change it to 80 or take it off if it is like Listen 127.0.0.1:8080

and for mysql, if you use a password then you need to connect with a password. if you don't then don't use one.

I have one and it works just fine.So should I deleted the Listen... line then?no, then it won't work at all. you need to delete one of the 80'sOK, awesome, thanks. I'll check it out later today.

Thanks again. :)
 
Top