close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

Will Dynamic connections help solve my problem

Thread began 7/05/2012 5:52 pm by phil107723 | Last modified 7/09/2012 1:28 pm by phil107723 | 4712 views | 2 replies

adamuabu445910

It still wont connect

Originally Said By: Jason Byrnes
  Dynamic connections probably wont help with this issue.

By default, Dreamweaver MySQL Connections (And Dynamic Coneections) use mysql_pconnect() to create the connection, this is a Persistant connection. On some servers that only allow a certain number of connections at a time, this can cause the issue you are running into. The fix for this is to use a non persistent connection by changing the mysql_pconnect() function call to mysql_connect()

change this line:
php:
$dbConn = mysql_pconnect($hostname_dbConn, $username_dbConn, $password_dbConn) or trigger_error(mysql_error(),E_USER_ERROR);



to:
php:
$dbConn = mysql_connect($hostname_dbConn, $username_dbConn, $password_dbConn) or trigger_error(mysql_error(),E_USER_ERROR);
  




I have same problem here. I removed the (p) in pconnect and I still get the same error

Warning: mysql_connect() [function.mysql-connect]: Access denied for user 'admins'@'localhost' (using password: YES) in /home/sheieorg/public_html/Connections/sya.php on line 9

Fatal error: Access denied for user 'admins'@'localhost' (using password: YES) in /home/sheieorg/public_html/Connections/sya.php on line 9

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

Content

rating

Layout

rating

Ease of use

rating

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