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


connection issue

Thread began 9/26/2012 12:36 pm by jo271221 | Last modified 9/26/2012 3:06 pm by Jason Byrnes | 507 views | 1 replies |


connection issue

I have experienced numerous connection issues from dreamweaver connecting to the database to my sites timing out to my sites not even connecting. After over 8 years of the hosting company blaming the programmer or extensions and WA support stating it was an issue with the host (which I tested vigorously on 3 different major hosting companies - yes, this was time consuming) I just received this advice - and reffered to this information from the php manual - mysql_pconnect — Open a persistent connection to a MySQL server,

minimize Suggested alternatives

Use of this extension is discouraged. Instead, the MySQLi or PDO_MySQL extension should be used. See also MySQL: choosing an API guide and related FAQ for more information. Alternatives to this function include:

mysqli_connect() with p: host prefix
PDO::__construct() with PDO::ATTR_PERSISTENT as a driver option

I simply removed the letter p from my connect file and my site appears to be working now. Is there a reason for the p connect and anything I should be aware of? Thank You,

Sign in to reply to this post

Jason ByrnesWebAssist

using mysql_connect instead of mysql_pconnect in the connection shouldn't be an issue.

By default Dreamweaver uses persistent connections. A persistent connection will get reused if it is open whereas mysql_connect will create a standard connection which needs to be re established for each page that loads.

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...