Re: Mysql connection problems

From: Date: Fri, 09 Feb 2001 03:26:32 +0000
Subject: Re: Mysql connection problems
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-38888@lists.php.net to get a copy of this message
> Warning: MySQL Connection Failed: Can't connect to MySQL server on > 'localhost' (10061) in c:\arquivos de > programas\apache group\apache\htdocs\db_connect.php on line 3 > Couldn't connect. Is the MySQL deamon running? IE, is there a black MS-DOS window (maybe minimized) that has something not unlike this: C:\mysql\bin\mysqld.exe: ready for connections in it? If not, you need to open an MS-DOS window and cd to where-ever you installed MySQL and do "mysqld" and just let it sit there. It's not "hung", it's just waiting for you to do some MySQL stuff. Can you connect to the MySQL deamon using mysql monitor? IE, open an MS-DOS window and cd to where-ever you installed MySQL and do "mysql mysql" Then use \q to quit. Get MySQL up-and-running without trying to get PHP to talk to it first. -- Visit the Zend Store at http://www.zend.com/store/ Wanna help me out? Like Music? Buy a CD: http://l-i-e.com/artists.htm Volunteer a little time: http://chatmusic.com/volunteer.htm

« previous php.general (#38888) next »