Forums

PHP

This topic is locked

Loosing my mind

Posted 31 Mar 2003 09:23:02
1
has voted
31 Mar 2003 09:23:02 Mikhail R. posted:
I know that I should post MySQL related questiong on the different topic, but please would someone help me with this.
How the hell does anyne connect to MySql in Dreamweaver.
I have tried to do this on three different computers Win98, win2K and now I'm on WinXP Pro.
I'm getting nothing but errors. Every time I installed MySql from scratch and created a single table database. I used MyPhpAdmin to do this.
The MySQL is installed in the default directory c:MySQL.
I can create databases either at the comand prompt or through the PhpMyAdmin.
I created a new site in DWX and a single index.php page
In the DWX site deifintion for testing server it is set to local/network and is pointed to the root (c:\inetpub\wwwroot\)
When I click on the + in the Databases and type these parameters:
Connection Name: connHotel1
MySQL Server: localhost/
User Name: Mikhail
Password: Password
Database: I press select button and get this error: 2005 Unknown MySQL Server host 'http' (11001)
Thank you for reading and have a great day.

If you don't ask the answer is always no.

Replies

Replied 31 Mar 2003 09:54:35
31 Mar 2003 09:54:35 Julio Taylor replied:
MySQL Server: localhost
User Name: mikhail
Password: Password

try it without the prefix. that will work. <img src=../images/dmxzone/forum/icon_smile.gif border=0 align=middle>

FYI: <b> NEVER </b> use to access mysql servers. they do not use http protocol to communitcate and thus you're getting these errors. if you ever need to access a database remotely, use addresses like 'www.domain.com', but never specify the . this should be documented or error-trapped in DWMX!!

------------------------
Julio

PHP | MySQL | DWMX | ColdFusion

ICQ: 19735247
Replied 31 Mar 2003 19:44:52
31 Mar 2003 19:44:52 Mikhail R. replied:
Thank you for your help. It works now.

If you don't ask the answer is always no.

Reply to this topic