PhotoPost Community

PhotoPost Community (http://www.photopost.com/forum/)
-   Photopost Pro Bug Reports (http://www.photopost.com/forum/photopost-pro-bug-reports/)
-   -   'Lost connection to MySQL server' when uploading images (bulkupload.php,PP 4.8d) (http://www.photopost.com/forum/photopost-pro-bug-reports/130209-lost-connection-mysql-server-when-uploading-images-bulkupload-php-pp-4-8d.html)

thirty6degrees January 30th, 2007 09:52 AM

'Lost connection to MySQL server' when uploading images (bulkupload.php,PP 4.8d)
 
Our users are getting problems when uploading images to the gallery, getting various errors on different queries, all 'Lost connection to MySQL server during query'.

We've recently split to two servers, one database and one web, on a local 'network'. MySQL uptime is a couple of weeks, so it's not crashing, and it's not happening anywhere else on the site, only when uploading images, and interestingly at the moment they SEEM to always be related to the user database. Browsing, etc, is fine.

Any ideas?

Thanks,

Ollie
BirdForum

Chuck S January 30th, 2007 10:12 AM

Have you ensured you are using all the correct mysql information in the config especially the user database portion?

The error you are describing is one where mysql on the external server can not be connected to which means it is busy or down usually.

thirty6degrees January 30th, 2007 10:25 AM

Yep, it's all filled in right, and everything else still works.

It's only happening in this one place, very strange...

thirty6degrees January 30th, 2007 11:36 AM

Example error:


MySQL error reported!

Script: bulkupload

Query: SELECT userid,username,email,password,usergroupid,timezon eoffset,salt,membergroupids FROM user WHERE userid='14121'

Result: Lost connection to MySQL server during query

Database handle: Resource id #9

thirty6degrees January 30th, 2007 12:13 PM

Would you be able to look at this if i sent you some more details? What details do you need?

Chuck S January 30th, 2007 01:24 PM

There is not much I can do with an error like this

Lost connection to MySQL server during query

This tells me hands down the connection to mysql is being dropped as in the mysql server is going down. This is a server issue. As long as your user database info is correct as it is entered in your vb config file so should it be entered in our config thats all I can really respond to on this. For any real server issues like this you would need to contact your host and ask them what is up with why your mysql is loosing connection


All times are GMT -5. The time now is 08:37 AM.

Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97