Jump to content

Dreamweaver: Wount connect to my database!?


Recommended Posts

HI, Ive been trying to do this for months, well i gave up awhile back but now im determined to get this to work for my new project!
Ive been trying to get dreamweaver MX to connect to my database on my remote host/server with the following info!

So i click on myslq connection and the box appears ok..

Connection Name:    ConnBeneavin
MySQL Server:        abydosgaters.com
User Name:             stargate_test
Password:               testing
Database:               stargate_test

These are real details, i set up a stargate_test account+database with that password for you people with dreamweaver MX already working with databases to test it if you wish!
Oh and also with cPanel i have added an access host of %. This should mean that all of you can access my server! (I hope).

But when i do this from my computer all i get is a popup message : "An Unidentified error has occured"
It is really important that i get this to work!
Any help is greatly appriciated!

Andy
Link to comment
https://forums.phpfreaks.com/topic/22244-dreamweaver-wount-connect-to-my-database/
Share on other sites

Looks like your mysql account for the database isnt setup properly. As I failed to connect to your MySQL server with the details provided:
[code=php:0]echo "Connecting to MySQL...<br /><br />";

mysql_connect('abydosgaters.com', 'stargate_test', 'testing') or die(mysql_error());

echo "connected to MySQL server<br /><br />";

echo "Selecting database...<br /><br />";

mysql_select_db('stargate_test') or die(mysql_error());

echo "Selected database";[/code]
  • 10 months later...
I thought this might be a problem but I can connect to the hosting server's (Webhost Freaks) mySQL via an ODBC connection on my computer- I create my database in Access and export it to mySQL.  If it were the server disallowing a remote connection (like GoDaddy does) wouldn't this include ODBC connections? 

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.