Results 1 to 2 of 2
Jun 13, 2002, 23:06 #1
- Join Date
- Jun 2002
- 0 Post(s)
- 0 Thread(s)
MSQL cmdline fails, but works with phpMyAdmin
This may be a bit off-topic for this group, but, I've had no luck in the MySQL forums / newsgroups.
I can access MySQL on my WinME (phpTriad) install no problem from PHP scripts & phpMyAdmin. However, when I try (now -- worked before) from a DOS commandline it fails:
>mysqladmin -p status Enter password: ****** C:\APACHE\MYSQL\BIN\MYSQLA~1.EXE: connect to server at 'localhost' failed error: 'Can't connect to MySQL server on 'localhost' (10050)' Check that mysqld is running on localhost and that the port is 3306. You can check this by doing 'telnet localhost 3306'
Obviously something is mis-configured for TCP/IP? Any idea on what I need to check?
If it helps, I've looked at c:\windows\my.ini to see if there is anything obvious there -- tried uncommenting the port=3306:
[WinMySQLAdmin] Server=C:/APACHE/MYSQL/bin/mysqld-opt.exe user=root password=***** [mysqld] basedir=C:/APACHE/MYSQL #bind-address=18.104.22.168 datadir=C:/APACHE/MYSQL/data #language=C:/APACHE/MYSQL/share/your language directory #slow query log#= #tmpdir#= port=3306 #set-variable=key_buffer=16M
Jun 16, 2002, 07:16 #2
Moved to a more appropriate forum
-- You lived inside my world so softly
-- Protected only by the kindness of your nature