close ad
WARNING: Do Not Install the DREAMWEAVER CC 2017 or 2018 Update »
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Warning: mysql_pconnect()has gone away

Thread began 7/01/2014 6:32 am by mike-j-taylor318947 | Last modified 7/01/2014 1:22 pm by Jason Byrnes | 970 views | 3 replies |

mike-j-taylor318947

Warning: mysql_pconnect()has gone away

When I use store manager and on the main site on every single page that opens I get a warning:

Warning: mysql_pconnect() [function.mysql-pconnect.php]: MySQL server has gone away in D:\dhanyabad.co.uk\wwwroot\Connections\PowerStoreConnection.php on line 9

any Ideas on the cause & how I can get rid of it

Sign in to reply to this post

Jason ByrnesWebAssist

try editing line 9 of the Connections\PowerStoreConnection.php file:

$PowerStoreConnection = mysql_pconnect($hostname_PowerStoreConnection, $username_PowerStoreConnection, $password_PowerStoreConnection) or trigger_error(mysql_error(),E_USER_ERROR);




to:

$PowerStoreConnection = mysql_connect($hostname_PowerStoreConnection, $username_PowerStoreConnection, $password_PowerStoreConnection) or trigger_error(mysql_error(),E_USER_ERROR);



you may need to wait a day for the persistent connections to time out and allow a new connection to be made.

Also, double check the host, username, password, and database name in the connection file to make sure they are correct.

Sign in to reply to this post

mike-j-taylor318947

Just changing the code has worked thanks for the help Jason

Sign in to reply to this post

Jason ByrnesWebAssist

you're welcome.

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

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