Reply to Problem with MySQL

Your name:

Reply:


Posted by Andrew Maxwell on 01/08/05 22:49

Hello,
Im fairly new to PHP and I am running an Apache web server on my
computer, set up as localhost, and i recently installed MySQL 4.1 . I
am having trouble making a DB and a table in the DB. when i try to
create it from a command prompt it tells me this:

C:\mysql\bin>mysqld-opt

C:\mysql\bin>mysqladmin create userDB
mysqladmin: connect to server at 'localhost; failed
error: 'Can't connect to MySQL server on 'localhost' (10061)'
Check that mysqld is running on localhost and that the port is 3306.
You can check this by doing 'telnet localhost 3306'

and when I try to connect using Telnet it gives me this error

Microsoft Telnet> open localhost 3306
Connecting to localhost...Could not open connection to the host, on
port 3306: Connection failed

And when i run services.msc it shows that mysql is running, so i dont
know what the problem is. Anyone have any ideas?

~Andrew

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация