Mining in EVE Online can be as safe or as risky as you make it, and where you choose to mine makes all the difference.
As a rule, low-security areas hold more valuable ores than high-security space. The 0.0 rating actually covers a range down from around 0.0, and the exact ore information is often hidden to keep things unpredictable. Stations in low-security regions also tend to pay more for your ore. But that profit comes with real danger. There are no patrol guards watching your back while you mine, which sharply raises the risk of being "podded" mid-operation. On top of that, the locals who control security in the region will want their cut, so hidden costs need to be factored in when you are chasing big ISK.
Solo mining means doing all the work yourself. You keep all the profit, but you mine less ore and have no backup when trouble arrives. That said, with good planning it can be just as profitable. Set your bookmarks well and warp in and out of the mining zone without letting pirates track your movements. The golden rule for a solo miner is to never draw attention. If pirate ships appear, leave the area before they close in. Scanners can be slow to reveal a pirate, so give yourself at least a 30 km buffer for a safe escape.
Advanced miners with better ships and skills rarely die wondering, and if there is profit to be had, they will go for it, but even veterans know that low-security mining demands careful planning and nerve.