Minding wrote:
> Not confused about IIS and Apache. Not confused about
what Localhost is on
> this or another computer. Not confused about default
ports and binding to 81.
> Not confused about doing development on a production
system with DW.
If you're not confused, why the questions?
> Because I have IIS on port 80 and have Apache running on
port 81, I have had
> to specify my MySQL Server as LOCALHOST:3306 in DW when
on my local system in
> order to establish my database connection.
Sorry to contradict you, but you are confused. Originally,
you said you
have SQL server running on port 80. Now you say you have IIS
on port 80
- which makes more sense. Port 80 is for web servers. IIS is
a web
server. SQL server is a relational database server that runs
by default
on port 1433.
However, there is no need to specify MySQL as being on port
3306, as
that is the default port for MySQL. When specifying the
server for MySQL
in a Dreamweaver connection, all that's necessary is
localhost. Your
earlier attempt to specify localhost:81 was attempting to
connect to
Apache. Although you are using Apache to serve your web
pages,
connections to MySQL are made directly. The only time you
need to
specify a different port for MySQL is if you are running the
MySQL
server on a non-standard port such as 3307 or 8889.
> However on my production (Web
> Host's) system, I must specify LOCALHOST without the
qualifying 3306 for MySQL.
> Is this true?
If your host runs MySQL on the standard port (3306), you can
use either
localhost or localhost:3306.
> If so, I have to make the change on my production system
which
> is not an acceptable approach.
The choice is being made by you. The standard port for all
web servers
is 80, but you can run only one server at a time on the same
port. If
you want to run IIS and Apache simultaneously on your local
machine, you
have no alternative but to run one on 80 and the other on a
non-standard
port. You can, of course, run them both on port 80, but not
at the same
time.
--
David Powers, Adobe Community Expert
Author, "The Essential Guide to Dreamweaver CS3" (friends of
ED)
Author, "PHP Solutions" (friends of ED)
http://foundationphp.com/