close ad
Databridge V2 with MySQLi support IS Now Available!
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues


Need help connecting PHP to MS SQL in DataAssist

Thread began 10/14/2009 12:14 pm by sgary388523 | Last modified 10/14/2009 4:28 pm by Jason Byrnes | 1141 views | 5 replies |


Need help connecting PHP to MS SQL in DataAssist

We have read through the help area, and could only find PHP connecting to MySQL. Any help would be appreicated. Thanks

Sign in to reply to this post

tom92909Beta Tester

1. Do you have a server with MySQL and PhpMyAdmin?
2. Do you have a Database created in MySQL?
3. Do you have a Username & Password created in MySQL?
4. Have you given #3 full access to #2?

Assuming that lines 1-4 are correct...

5. Have you created a Table in your database?

Assuming that line 5 is yes...

6. Have you created any fields for this table?

So if all of the above are yes...

Dreamweaver CS3
1. Create a plain php file (name doesn't matter, the directory should be created for your specific domain) and save it in that directory.

2. From the top line menu, select Window - Databases.
See my screenshot image...

You'll want to start off with creating the Site, then fill in all of the inputs for the following Advanced tab Categories... Local Info, Remote Info, Testing Server. Be sure and TEST them successfully.

3. You'll want to create the MySQL Connection (option 4 in the list in order).

Connection name
user name

(if the above is correct)
Your table should show up in the bottom input field.

Save and at that point, you should be ready to go with MySQL.

Sign in to reply to this post


Tom, we are using MS SQL, not MySQL

Thanks for your prompt response. DataAssist seems to connect ASP pages to MS SQL, but we do not know how to connect PHP pages to MS SQL.

Call you call me toll free (877) 472-4279 x116 now?


Sign in to reply to this post

tom92909Beta Tester


My apologies. I misread your subject line. I provided you with MySQL connectivity instructions, NOT MS SQL. I have no experience with MS SQL and I am not sure if Dreamweaver even supports it.

I am not a WebAssist employee, I would wait to hear from them here...

Sorry for the confusion.


Sign in to reply to this post


Here's how the connection is made manually:


But it should be known that experts strongly recommend NOT using MS SQL with PHP.

Is there no way to export the data and start using MySQL - which is recommended and works flawlessly with PHP?



Sign in to reply to this post

Jason ByrnesWebAssist

Dreamweaver does not connecting to an MS SQL database using PHP. This would need to be hand coded to make work and will not be supported using WebAssist Extensions.

As SOJO Web stated, it is not recommended to use MS SQL with PHP.

Sign in to reply to this post

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question





Ease of use


security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...