Andreas
start_.bat the WAMPonCD system will be configured and the daemons will be started. Then the index.[url=http://www.php.net/]PHP[/url] file is loaded into your browser. You should see a welcome message and a WAMPonCD logo. If you can see this logo then MySQL [mysql.com] is running ok since it is retrieved from the database. When connecting to the MySQL [mysql.com] server keep in mind that it listens on port 8182 or whatever port you changed it to. Likewise Apache [httpd.apache.org] is listening on port 8181.WAMPonCD documentation
So when connecting to the database server try using a command like this:
MySQL [mysql.com] -port=8182 ...
or even better yet since it will avoid accidentally reading any other my.ini that may exist on your system:
MySQL [mysql.com] --defaults-file=%%TEMP%%/Apache [httpd.apache.org]/my.ini
You would need to replace %%TEMP%% with the drive letter and path to your TEMP directory as identified by your TEMP environment variable.
HTH Andreas
When I type this command from \mysql\bin:
mysqladmin -port=8182 version
I get this message:
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'
When I telnet nothing shows up.
And when I try:
mysqladmin -port=3306 version
I get the same message.
-----------------------------------------
The my.ini file in the C:\windows\temp\Apache looks like this:
# $Id: my.ini_readonly,v 1.1 2003/01/08 21:02:51 af Exp $
#This File was made using the WinMySQLadmin 1.1 Tool
#11.07.01 14:51:10
#Uncomment or Add only the keys that you know how works.
#Read the MySQL Manual for instructions
[mysqld]
basedir=X:/MySQL
bind-address=127.0.0.1
datadir=X:/database
#language=F:/MySQL/share/your language directory
#slow query log#=
tmpdir=C:\WINDOWS\TEMP/Apache
port=8182
#set-variable=key_buffer=16M
[WinMySQLadmin]
Server=X:/MySQL/bin/mysqld-opt.exe
user=apache
password=aaron/8
[mysqladmin]
port=8182
----------------------------------------
The Mysql\data\mysql.err has these last entries:
030404 17:18:05 D:\PROGS\WAMPONCD\MYSQL\BIN\MYSQLD.EXE: File '.\mysql\host.ISD' not found (Errcode: 2)
030404 17:18:05 D:\PROGS\WAMPONCD\MYSQL\BIN\MYSQLD.EXE: Can't find file: 'host.ISD' (errno: 2)
----------------------------------------
mysqladmin --port=8182 ...
This should work. At least it will tell mysqladmin to use the right port.
Just post again if there is no MySQL [mysql.com] server listening on that port.
Andreas