Jump to content
  • 0

Problem with all my php scripts.


Question

Posted

Well guys here's the problem.I am using MySql Server 5.0  k? so i am trying to connect from my website to be able to view the stats with the php scripts shared.But even if i use the correct password and username i get the Couldn't connect to the host. any ideas?Do  i have to use mysql server 6.0?Take down my firewall? I am using Norton Internet security.

 

Best Regards,

Thunder

5 answers to this question

Recommended Posts

  • 0
Posted

Make sure that whatever computer the mysql/php server is running on has opened port 3306 (MySql) and port 80 (webserver) in the firewall/router. This means the pages/database you'r hosting are accessible from other computers aswell - so make sure you have a secure password.

 

If, however, you only want to view the scripts from the computer hosting the server, then you don't need to open these ports and can just connect using host:localhost, username and password.

Guest
This topic is now closed to further replies.


×
×
  • Create New...

Important Information

This community uses essential cookies to function properly. Non-essential cookies and third-party services are used only with your consent. Read our Privacy Policy and We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue..