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 gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

can't connect to server on 'localhost' (10050)

Status
Not open for further replies.

bhutz

IS-IT--Management
Jan 2, 2004
9
GB
Please can somebody help me, i had configured appache and php fine so far. i managed to run the appache server and display my own php files(such as the ones shown in various guides around the net, e.g phpinfo.php and helloworld.php, etc...) on the address localhost/dir_of_file/file.php using my browser.

The problem that i am gettin now is that when i try and run commands such as
'cd mysql\bin\mysqlshow' or
'cd mysql\bin\mysqladmin -uroot password dog

i get the error message

'can't connect to server on 'localhost' (10050)
check that mysqld is running on local host'

i then typed the command telnet localhost 3306 and i get the error
'could not open connection to local host'

please could someone help me find where i am going wrong?

thanks
 
from your commands you have "cd" at the beginning .. why?

'mysql\bin\mysqlshow' or
'mysql\bin\mysqladmin -uroot password dog should work just fine if you can see or have globally linked the mysql directory.
if you cannot see the mysql directory you may need the full path, like/usr/local/mysql/bin/mysqladmin

mysql -uroot -p
should return a
password:
prompt. ***************************************
Party on, dudes!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top