Dreamweaver

Soldato
Joined
8 Oct 2005
Posts
4,184
Location
Midlands, UK
Hi,

I have my hosting with tsohost.co.uk and wish to connect to my sql databse using dreamweaver. Can anyone provide settings i can use in the site definition E.g. what address to use the 'machine running the sql server', as every url i try fails :/

Thanks
 
The address will be the address of the server so using your domain will work, you'll have to add your own IP/host to cpanel though. It's under mySQL then Access Hosts.
 
The address will be the address of the server so using your domain will work, you'll have to add your own IP/host to cpanel though. It's under mySQL then Access Hosts.


Yup, already added my host mate. Have already tried using my domain (myuser.tsohost.co.uk) as sql server too with no luck.
 
This is silly now. Support have recommended me try a googled link describing how to set up general site definitions. For the sql server i have tried the ip of my shared hosting account, the hostname and (as suggested) localhost. All with no luck. Someone on here must have set up a database connection using dreamweaver and tsohost. This is usually so easy to setup.
 
To see whether there's anything preventing you from connecting, you can try opening a telnet to the MySQL server.

Open a command prompt - Start > Run > cmd.exe and type the following:-

telnet yourdomain.co.uk 3306

(Obviously replacing yourdomain.co.uk with your actual domain)
You'll see the MySQL server version plus some gibberish, but it will narrow down whether there's a problem with your dreamweaver settings or whether there's some other general connection issue.
 
Humm. Just tried that and it displays the server version with '-max-log' on the end. It also says connection host lost instantly too. :(
 
Humm. Just tried that and it displays the server version with '-max-log' on the end. It also says connection host lost instantly too. :(

Telnet isn't supposed to connect to a MySQL server. It means there is something wrong with the dreamweaver settings...
 
bah! just tried localhost:3306 and it works. DW must treat the remote host as the local machine.
 
Back
Top Bottom