abdfahim Posted February 5, 2008 Share Posted February 5, 2008 When I try to upload large amount data through php from one table to another, the server connection lost, and most importantly server has to be restarted. Otherwise php could not connect to mysql server. Here one thing I should mention that in the php page where I upload large amount of data, I has to run many mysql query. Anyone has any solution?? Quote Link to comment https://forums.phpfreaks.com/topic/89504-lost-mysql-connection-while-uploading-large-data-through-php/ Share on other sites More sharing options...
abdfahim Posted February 5, 2008 Author Share Posted February 5, 2008 I just discover that mysql service is being stopped which cause the problem. If I again start mysql service, then I dont need to restart server. Why mysql service stopped automatically when I try to upload large amount of data?? Quote Link to comment https://forums.phpfreaks.com/topic/89504-lost-mysql-connection-while-uploading-large-data-through-php/#findComment-458446 Share on other sites More sharing options...
awpti Posted February 5, 2008 Share Posted February 5, 2008 You probably ran into a memory starvation issue and, like any good OS, Linux (or windows?) shut down the process to protect itself. This is not an issue we can address here. This is a server-side problem. Quote Link to comment https://forums.phpfreaks.com/topic/89504-lost-mysql-connection-while-uploading-large-data-through-php/#findComment-458447 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.