Updated

Mindy McCready (search), who was found unconscious from a drug overdose in a Florida hotel lobby in July, told a Williamson County court that she attempted suicide after learning she was pregnant.

McCready, who was released from jail earlier this month on $50,000 bond on a charge of probation violation, appeared in court Monday to appeal the terms of the bail agreement.

The 28-year-old country singer said she went to Florida to be with family after a series of problems that included a drunken driving arrest in Nashville and a beating by her boyfriend.

"I had just been through a horrible ordeal," she said in court. "I was going to visit family."

Authorities in Florida's Pinellas County said they found the singer unconscious from a drug overdose in a hotel lobby on July 22.

"I attempted to commit suicide after I found out I was pregnant," she said in court.

McCready was on three years' probation after pleading guilty last year to fraudulently obtaining the painkiller OxyContin (search) at a pharmacy in Williamson County.

She left Tennessee without permission and didn't report to her probation officer during the entire month of July, authorities said. It was her second probation violation.

McCready was arrested Aug. 26 in Florida and taken to the Williamson County Jail, where she spent 10 days before being released on bail.

Prosecutors said part of the reason they agreed to her release was because she was experiencing medical complications from the pregnancy.

Under terms of her bail, she must remain within 50 miles of Williamson County, submit to random drug screens, wear an ankle monitoring device, meet with a probation officer twice a week and be home between the hours of 7 p.m. and 6 a.m.

McCready said the curfew would conflict with her agreement to appear on "The Oprah Winfrey Show (search)" at the end of the month.

Judge Jeff Bivins told her she could break curfew with her probation officer's permission and rejected her request for the bail provisions to be eased.

McCready, who had a No. 1 hit in 1996 with "Guys Do It All the Time," is scheduled to face trial Nov. 14 on the probation violation.