iOS8 AVAudioSession setActive error

I solved this problem, inserting this code in the method of AVAudioPlayerDelegate. -(void)audioPlayerDidFinishPlaying:(AVAudioPlayer *)player successfully:(BOOL)flag{ [audioPlayer stop]; [audioPlayer prepareToPlay]; } where audioPlayer is a variable declared in the header of my class. the instruction prepareToPlay should resolve your problem!

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)