Aureole Posted February 8, 2008 Share Posted February 8, 2008 I installed WAMP and PHP My Admin won't work for some reason, I get an "Access denied" message. Error MySQL said: Documentation #2003 - Can't connect to MySQL server on 'localhost' (10061) Quote Link to comment Share on other sites More sharing options...
pocobueno1388 Posted February 8, 2008 Share Posted February 8, 2008 Do you have a die statement at the end of your connection to catch the mysql_error? Quote Link to comment Share on other sites More sharing options...
Aureole Posted February 8, 2008 Author Share Posted February 8, 2008 Eh? I don't think you follow, I can't connect to PHP My Admin... well I couldn't, I worked it out. Anyway, now I have this: Your configuration file contains settings (root with no password) that correspond to the default MySQL privileged account. Your MySQL server is running with this default, is open to intrusion, and you really should fix this security hole. Does anyone know how I can "fix this security hole"? Quote Link to comment Share on other sites More sharing options...
pocobueno1388 Posted February 8, 2008 Share Posted February 8, 2008 I think you need to go and change the password. Just do this by going to http://localhost and there should be a WAMP homepage where you can access and change all the information. Quote Link to comment Share on other sites More sharing options...
Aureole Posted February 8, 2008 Author Share Posted February 8, 2008 Ah ha! I worked it out... I think. Say, someone should have told me about WAMP a long time ago, this is going to make my life much easier. Quote Link to comment Share on other sites More sharing options...
Aureole Posted February 8, 2008 Author Share Posted February 8, 2008 Here's a question, is it possible to let other people connect to my "localhost", I realize WAMP was designed as a development environment yada yada yada, but I'm just curious. Quote Link to comment Share on other sites More sharing options...
pocobueno1388 Posted February 8, 2008 Share Posted February 8, 2008 I'm not sure about that one, it sure makes it sound like someone else could...so I would guess it may be possible, although I have no idea what so ever how, hah. Quote Link to comment Share on other sites More sharing options...
Aureole Posted February 8, 2008 Author Share Posted February 8, 2008 Ah well, anyone else have any ideas? It's just it'd be nice if the other people who are working on a project with me could access this too. Quote Link to comment Share on other sites More sharing options...
pocobueno1388 Posted February 8, 2008 Share Posted February 8, 2008 If you would like to share your files/web pages with others, click on the icon located on your taskbar tray and select "Put Online." You must have access to the Internet in order to continue. Send the people that you would like to give access to the files/web pages hosted on your WAMP server your IP Address. Your can find your IP address here: Source: http://www.tech-faq.com/wamp.shtml So I guess you can Quote Link to comment Share on other sites More sharing options...
Aureole Posted February 8, 2008 Author Share Posted February 8, 2008 If I type my IP then I get my router settings page, I'm guessing that's normal though and it won't apply to others? Quote Link to comment Share on other sites More sharing options...
Aureole Posted February 8, 2008 Author Share Posted February 8, 2008 Damn edit button disappeared... I gave someone my IP and they said it says "unable to connect". The server IS online and Apache, PHP and MYSQL are all running. Quote Link to comment Share on other sites More sharing options...
laffin Posted February 8, 2008 Share Posted February 8, 2008 Yes Problem is most cable/dsl modems use port 80, so ya can't host a webserver on port 80. if yer router/modem has a port forwarding page, try redirecting a higher port to port 80 on yer local net ip. Quote Link to comment Share on other sites More sharing options...
Aureole Posted February 8, 2008 Author Share Posted February 8, 2008 I think I found it, I have a screen up and I have the following options: Rule Flavour: NAT or DMZ Rule ID: Rule Protocol: ANY, TCP, UDP, ICMP or any number between 1-255 Lan IP Address: Destination Port: Local Port: For Destination and Local port you can add a port number, plus choose from one of the following for each: Any other port, ECHO, DISCHARD, CHARGEN, FTP, TELNET, SMTP, DNS, BOOTP, TFTP, HTTP, POP3 or SNMP. HELP! Quote Link to comment Share on other sites More sharing options...
wildteen88 Posted February 8, 2008 Share Posted February 8, 2008 What brand/model router do you have? Go to http://portforward.com to configure your router for port forwarding. Quote Link to comment Share on other sites More sharing options...
Aureole Posted February 8, 2008 Author Share Posted February 8, 2008 I'm aware of http://portforward.com/, but where do I go after I select my Router make and model? I can't find an option for WAMP. Quote Link to comment Share on other sites More sharing options...
wildteen88 Posted February 8, 2008 Share Posted February 8, 2008 You need to forward port 80 thats it. Quote Link to comment Share on other sites More sharing options...
laffin Posted February 8, 2008 Share Posted February 8, 2008 simpler solution, change Apache listening port to a higher port. look in apache's conf dir http.conf file line: Listening 80 change the listening port to something other than 80. 1080,8000,4080 this will have the effect or yer urls having the port designator on it http://my.home.site:8000 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.