MySQL kullanarak web tabanlı bir uygulama üzerinde çalışıyorum ve ben geçmişte kullandım. Ben bir mySQL hatası görmedim sonra diğer kalkınma sürecinde bir şey - yani. kötü seçer oluşan - ama hangi tür hatalarla 'çalışma' onun bir zamanlar var mı?
Ben bir ekleme veya Seçenek başarısız görmedim - edebilir bunlar? Sözdizimi doğruysa, neden olur?
Ben çoğunlukla bir hata aslında occour yaparsa ne bulmaktan doğru bir göz ile bu soruyorum. Bir ekleme / güncelleştirme başarısız olursa, ikinci bir uyku ve tekrar denemek mi? Nasıl bir seçme hakkında? Kaç kere hemen vazgeçmeden önce?
EDIT: Maybe I asked this poorly, what I'm looking for is "How should I handle mySQL errors if and when they occour?". In every sample I've ever seen its to just die -- in a public application that seems very ugly. Is it worth retrying the command in a few seconds and then giving a error to the user and emailing the admin? Or just accept that a fatal error won't get fixed.