The installation through the Solaris repository is as simple as typing: $ pkg install mysql-50 to obtain MySQL 5.0.91 (status Jan 18, 2012) or click on this link to launch the interactive installer. $ pkg install mysql-51 to obtain MySQL 5.1.37 (status Jan. 18, 2012) or click on this link to launch the interactive installer.
The Studio 12.2 IPS download requires an Oracle Online Account and a certificate for the target system. Note: Solaris Studio 12.2 has been succeeded by Solaris Studio 12.3. The Studio team will release an IPS download soon (as stated on the download page).