Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. jgroom

    Unable to connect to MySQL

    Hi ingresman Sorry I didn't get back to you. I decided to uninstall IIS and reinstall it because the problem seemed to be there - command line PHP worked fine. Unfortunately my machine hangs up just before the end of the install everytime I try it - my PC is getting a bit old - so I think a...
  2. jgroom

    Unable to connect to MySQL

    I get no response. Microsoft Windows 2000 [Version 5.00.2195] (C) Copyright 1985-2000 Microsoft Corp. C:\>c:\php\php d:\joebrowns\phptest.php C:\> I previously had MySQL v3.? which I uninstalled before installing v4. Unfortunately no other MySQL on another box. Regards
  3. jgroom

    Unable to connect to MySQL

    telnet localhost 3306 or telnet 127.0.0.1 3306 (returns) 7 4.1.10-nt?&fRFHt28,?dp'nsy&N6`eX Connection to host lost. C:\> I don't know how to do from the IIS user. Regards
  4. jgroom

    Unable to connect to MySQL

    OK - here goes :- PHP Version 4.3.1 System Windows NT localhost 5.0 build 2195 Build Date Feb 15 2003 23:02:25 Server API ISAPI Virtual Directory Support enabled Configuration File (php.ini) Path C:\WINNT\php.ini PHP API 20020918 PHP Extension 20020429 Zend Extension 20021010 Debug...
  5. jgroom

    Unable to connect to MySQL

    OK - I understand. The entire page code is as follows :- <?php // phpinfo(); $connect = mysql_connect("localhost", "root", "azbycx") or die (mysql_error()); $create = mysql_query("CREATE DATABASE IF NOT EXISTS movies") or die ("Cannot create DB movies"); mysql_select_db("movies")...
  6. jgroom

    Unable to connect to MySQL

    The connect code is given in my original post. I can connect via command line and also via SQLyog.
  7. jgroom

    Unable to connect to MySQL

    Thanx Ingresman. Yes to both questions. Its just the web page which won't connect.
  8. jgroom

    Unable to connect to MySQL

    I am using the following statement to connect to MySQL using PHP on Windows 2000. $connect = mysql_connect("localhost", "root", "azbycx") or die (mysql_error()); Unfortunately I get the following error. Warning: mysql_connect() [function.mysql-connect.chm]: Can't connect to MySQL server on...

Part and Inventory Search

Back
Top